!JiiOHXrIUCtcOJsZCa:matrix.org

nio

341 Members
The nio matrix python library | Latest stable release 0.25.2 | https://pypi.org/project/matrix-nio/ | Documentation: https://matrix-nio.readthedocs.io/en/stable/132 Servers

Load older messages


SenderMessageTime
7 Sep 2024
@nex:nexy7574.co.uknex (she/it)I don't think the server-server api should matter though given nio is a client18:02:58
@timegrid:matrix.c3s.ccAlex

ah - my current account is on a server, which probably doesn't speak the new api as well

18:04:40
@nex:nexy7574.co.uknex (she/it)Yeah, your server only supports up to v1.1018:05:21
@nex:nexy7574.co.uknex (she/it)v1.11 is the minimum for authenticated media18:05:30
@nex:nexy7574.co.uknex (she/it)\!admin debug ping matrix.c3s.cc18:06:00
@nex:nexy7574.co.uknex (she/it)

Got response which took 110.191251ms time:

{
  "name": "Synapse",
  "version": "1.108.0"
}
18:06:00
@nex:nexy7574.co.uknex (she/it)yikes, that's ancient in synapse time18:06:10
@nex:nexy7574.co.uknex (she/it)1.118 is out :^)18:06:18
@timegrid:matrix.c3s.ccAlex

yes, i'm on it, already talked to the admin today :P ok, then there are no errors with that patch yet (i also tested images with two matrix.org accounts capable of authenticated media) and this probably might be the best option to fix both issues at the same time. are you sure, paarth won't merge it after his review now?

18:14:33
@nex:nexy7574.co.uknex (she/it)The review was two hours ago, so if it was going to be merged it would've been by now. I've marked it as a draft until I've given it a proper once-over just to make sure there's no confusion18:16:23
@nex:nexy7574.co.uknex (she/it) just waiting until I get home so I can get an IDE 18:16:53
@nex:nexy7574.co.uknex (she/it)which will be any minute now18:17:05
@nex:nexy7574.co.uknex (she/it)* The review was two hours ago, so if it was going to be merged on a whim it would've been by now. I've marked it as a draft until I've given it a proper once-over just to make sure there's no confusion18:18:10
@nex:nexy7574.co.uknex (she/it)Ouch18:32:20
@nex:nexy7574.co.uknex (she/it)image.png
Download image.png
18:32:21
@nex:nexy7574.co.uknex (she/it)looks like the tests are expecting the access_token query string18:40:04
@nex:nexy7574.co.uknex (she/it)image.png
Download image.png
18:40:04
@nex:nexy7574.co.uknex (she/it)that's gonna be a pain to fix18:40:12
@timegrid:matrix.c3s.ccAlex

sorry, can't see the image :P just read the github comments. i meant the url adjustment more like a temporary test and thought, that api.py was going to be adjusted (all access_tokens removed)

18:41:16
@nex:nexy7574.co.uknex (she/it)
sorry, can't see the image
This quote is starting to become more popular than the "unable to decrypt" meme
18:43:37
@timegrid:matrix.c3s.ccAlex^^18:43:45
@nex:nexy7574.co.uknex (she/it) Also yes, hopefully the access tokens will be removed entirely soon:tm:, but for now I just want to get something that works 18:44:36
@timegrid:matrix.c3s.ccAlex

the newest commit also works for me, tested image sharing with a matrix.org account in both encrypted and unencrypted rooms

19:15:02
@nex:nexy7574.co.uknex (she/it)Yeah, it was just your patch plus the removal of the prior warning I put in19:20:52
@timegrid:matrix.c3s.ccAlex

was more convincing myself, as i'm already struggling with the test environment combinatorials of account/server version * moment version * nio version/patch :P have you tried your client yet?

19:31:22
@nex:nexy7574.co.uknex (she/it)My bot user is actively running the patch, and everything looks fine19:31:59
@nex:nexy7574.co.uknex (she/it)image.png
Download image.png
19:33:54
@nex:nexy7574.co.uknex (she/it)yep, can confirm19:33:59
@nex:nexy7574.co.uknex (she/it)Downloads work too19:36:32
@nex:nexy7574.co.uknex (she/it)image.png
Download image.png
19:36:32

Show newer messages


Back to Room ListRoom Version: 4