Damir Jelić
Damir Jelić
If you're interested in adding this, the client object will already have all the info to make this work `client.invited_rooms` is a dict from room_id to [MatrixInvitedRoom](https://matrix-nio.readthedocs.io/en/latest/nio.html#nio.rooms.MatrixInvitedRoom). The client object...
You are correct that the client syncs on connect and periodically, you don't need to call sync there, besides it's a non-blocking call so you won't get a new sync...
Sadly you'll have to edit the source. You can add print calls here https://github.com/poljar/weechat-matrix/blob/master/matrix/uploads.py#L373. Print out the out and err variables.
The code should be correct. Try to print out the return_code variable as well. That one should indicate an error if the other two don't show anything.
No, version difference shouldn't be a problem. It's run as a separate process using fork(). It could be written in any language as long as it's an executable. The return...
You might need to add `flush=True` to the print call like the to_stdout function does. Or you might want to setup something a little bit more elaborate in Weechat and...
Weird, the return codes suggest something else, but let's check where you put matrix_upload and what is in your PATH variable, maybe it indeed isn't finding it and failing to...
That seems to be fine, and I assume matrix_upload is marked as executable? Everything seems to be fine if it is. I don't have currently an idea why it may...
Heisenbug strikes again? Please let me know if you find something that is obviously wrong, well besides the lackluster error reporting by the uploads code. That should be improved one...
Is this still a problem? There was a change to matrix_upload, the shebang now uses /usr/bin/env.