Closed AlexBocken closed 2 years ago
I can fix this error by just commenting out the culprit as can be seen here: https://github.com/AlexBocken/weechat-matrix/commit/b10723d15a3a08e769200acbfe6c36e5598ac8f0
But I'm not confident myself whether this is the correct way to go if you want this to be a clean fix.
Does changing from mimetype
to mime
fix it as well?
Ah yes, mime=self.file_keys.get("mimetype"),
seems to work.
Seems like a copy/paste error, a PR that changes to mime
is very much welcome.
perfect, will do.
I know the current state of the project and weechat-matrix-rs. Since this pertains to a wrapper script (matrix_upload.py) I'm hoping that I still can find some help here.
I have come across an error while uploading files. The upload itself succeeds but the uploaded file cannot be displayed in the current buffer. Only after rebooting weechat is the file properly displayed. I get the following error in my first buffer:
This is of course in an encrypted buffer as you can guess from the error Traceback. Let me know if you need any more information to further solve this issue.