facebook
facebook copied to clipboard
When creating a new DM, recipient does not get the message that created the DM
Steps to reproduce
- Send a message to someone you don't have an existing Facebook chat with
- Send a second message
Expected result
They get both messages
Actual result
They only get the second message, in particular, the message after the "Portal to private chat created." notice.
Screenshots
My recipient didn't get the first message:
Logs
Oct 08 18:45:30 uplink python[190413]: [2023-10-08 18:45:30,300] [[email protected]] Handling transaction 446514 with 1 EDUs
Oct 08 18:45:30 uplink python[190413]: [2023-10-08 18:45:30,300] [[email protected]] Finished handling transaction 446514
Oct 08 18:45:30 uplink python[190413]: [2023-10-08 18:45:30,301] [[email protected]] 127.0.0.1 [08/Oct/2023:18:45:30 +0000] "PUT /_matrix/app/v1/transactions/446514 HTTP/1.1" 200 159 "-" "Synapse/1.93.0"
Oct 08 18:48:43 uplink python[190413]: [2023-10-08 18:48:43,129] [[email protected]] Handling Facebook event mid.$gAAX0iNmHhmqRQeQOvmLEJ7ATmc0A (/7116856948348800256)
Oct 08 18:48:43 uplink python[190413]: [2023-10-08 18:48:43,572] [[email protected].@facebook_REDACTED:matrix.mit.edu] req #744: POST https://matrix-synapse.mit.edu/_matrix/media/v3/upload?filename=379877446_3595302090742534_3891>
Oct 08 18:48:43 uplink python[190413]: [2023-10-08 18:48:43,772] [[email protected].@facebook_REDACTED:matrix.mit.edu] req #744 (/_matrix/media/v3/upload) completed in 200.0ms with status 200
Oct 08 18:48:43 uplink python[190413]: [2023-10-08 18:48:43,910] [[email protected].@facebook_REDACTED:matrix.mit.edu] req #745: PUT https://matrix-synapse.mit.edu/_matrix/client/v3/rooms/%21rDaNCifqmxQrXEvIxR%3Amatrix.mit.edu/se>
Oct 08 18:48:43 uplink python[190413]: [2023-10-08 18:48:43,982] [[email protected].@facebook_REDACTED:matrix.mit.edu] req #745 (/v3/rooms/%21rDaNCifqmxQrXEvIxR%3Amatrix.mit.edu/send/m.room.message/mautrix-python_1696790923910193>
Oct 08 18:48:43 uplink python[190413]: [2023-10-08 18:48:43,982] [[email protected]] Handled Messenger message mid.$gAAX0iNmHhmqRQeQOvmLEJ7ATmc0A -> ['$F9jyy4WJ8e3VAmvEo1ZvbNtaISCvcE6YnsjkM1df_n8']
Oct 08 18:48:43 uplink python[190413]: [2023-10-08 18:48:43,987] [[email protected]] req #746: POST https://matrix-synapse.mit.edu/_matrix/client/v3/rooms/%21rDaNCifqmxQrXEvIxR%3Amatrix.mit.edu/read_markers?user_id=@facebookbot:matr>
Oct 08 18:48:44 uplink python[190413]: [2023-10-08 18:48:44,040] [[email protected]] Handling transaction 446515 with 1 EDUs
Oct 08 18:48:44 uplink python[190413]: [2023-10-08 18:48:44,041] [[email protected]] Finished handling transaction 446515
Oct 08 18:48:44 uplink python[190413]: [2023-10-08 18:48:44,042] [[email protected]] 127.0.0.1 [08/Oct/2023:18:48:44 +0000] "PUT /_matrix/app/v1/transactions/446515 HTTP/1.1" 200 159 "-" "Synapse/1.93.0"
Oct 08 18:48:44 uplink python[190413]: [2023-10-08 18:48:44,067] [[email protected]] Handling transaction 446516 with 1 PDUs
Oct 08 18:48:44 uplink python[190413]: [2023-10-08 18:48:44,067] [[email protected]] Finished handling transaction 446516
This is the same for me for a looong time. I usually create the first message from Messenger web as a workaround (I wouldn't do this normally if the bug wasn't there).
Same for me. I usually send a fake 'hello' to open the chat