Closed Fijxu closed 1 year ago
This is a dendrite bug
This is a dendrite bug
Thanks, is a already known bug? Or i have to report it to Dendrite? What is exactly failing here with dendrite?
Just reporting that i have the same bug...
@tulir Did you find any solution yet?
The solution is to not use Dendrite because it has some serious state bugs.
Therefore i created https://github.com/matrix-org/dendrite/issues/3116 😅
I was installing this bot on my own bleeding edge dendrite instance (latest commits) but i found out the problem that the bot leaves instantly from the room for no reason. After a lot of hours of testing, i found out that the bot leaves instantly from the room when it's invited when it does a GET request to
_matrix/client/v3/rooms/%21<mxid>/joined_members?user_id=<mxid>
. And 90% of the time that returns this JSON:When it's supposed to return (When the bot does the GET request and recieves this repsonse, the bot works well and it doesn't leave from the room)
Using mautrix-whatsapp at commit dec2f81fbef4a80126b82b7e86d779442ce1ea6a with postgresql. The bot and the matrix instance are running in the same machine.
I also have to note that using
mitmproxy
(the tool that i used to inspect the traffic between the bot and my matrix instance) increases the chances that the bot joins properly into the room and work as intended. The debug logs of the bot doesn't show anything intresting, justDBG Leaving empty room after accepting invite
but that is normal i guess. If you need more details let me know