Puppets cannot enter rooms
Using Dendrite I have the bridge functional, I can talk on my Matrix client and it appears in the Discord room however when other individuals talk it appears to invite them to the room but for some reason the puppeted account does not enter the room and throws an error in the logs.
Apr-15 02:09:52.982 [bot-sdk-MatrixLiteClient] error: (REQ-338) {"errcode":"M_FORBIDDEN","error":"eventauth: sender \"@_discordpuppet__105789029735256064:matrix.salastil.com\" not in room"}
Apr-15 02:09:52.982 [DiscordPuppet:App] error: Error handling discord message event {
errcode: 'M_FORBIDDEN',
error: 'eventauth: sender "@_discordpuppet__105789029735256064:matrix.salastil.com" not in room'
}
Apr-15 01:56:44.961 [bot-sdk-MatrixLiteClient] error: (REQ-195) {"errcode":"M_FORBIDDEN","error":"eventauth: \"@_discordpuppet__167790743988076545:matrix.salastil.com\" is not allowed to change their membership from \"leave\" to \"join\""}
Apr-15 01:56:44.962 [MatrixEventHandler] error: Error handling appservice room.event {
errcode: 'M_FORBIDDEN',
error: 'eventauth: "@_discordpuppet__167790743988076545:matrix.salastil.com" is not allowed to change their membership from "leave" to "join"'
}
There is also the problem of this getting spammed and locking up the bridge and rooms.
Apr-15 05:39:31.568 [bot-sdk-Appservice] info: Processing transaction 19793
Apr-15 05:39:31.568 [bot-sdk-Appservice] info: Processing event of type m.room.member
Apr-15 05:39:31.569 [MatrixEventHandler] info: Got new ghost join event from @_discordpuppet__167790743988076545:matrix.salastil.com in !nntcLIXQqZa2erc7:matrix.salastil.com...
Apr-15 05:39:31.570 [UserSync] info: Setting room override for puppet -1 167790743988076545 in 357632497900847114...
Apr-15 05:39:31.572 [bot-sdk-MatrixHttpClient] info: (REQ-20) PUT https://matrix.salastil.com/_matrix/client/r0/rooms/!nntcLIXQqZa2erc7%3Amatrix.salastil.com/state/m.room.member/%40_discordpuppet__167790743988076545%3Amatrix.salastil.com
127.0.0.1 - - [15/Apr/2022:05:39:31 +0000] "PUT /transactions/19793?access_token=tokenhashhere HTTP/1.1" 200 2 "-" "Go-http-client/1.1"
Edited by Salastil