Description
I have received a message from a group non-member in a verified group. Have not checked how it became a non-member, but most likely a "member added" with gossip was too large and not downloaded, then there was no more gossip.
The message itself is an encrypted reaction message with Chat-Group-Member-Timestamps
(not a very outdated core), avatar and "Autocrypt-Gossip" for every member.
This created a "Member ... added" (implicit addition system message) in the verified group chat for every already existing message.
I have since copied a backup from pre-key-contacts device and now the member is a member, so cannot check again what exactly happened in the database, but have logs.
The logs contain this:
2025-06-30T13:18:27.081Z core/event DEBUG "" 65 "NewBlobFile" {"file":"$BLOBDIR/aad987f32b037b58afd2ae0261ec6f6.jpg","kind":"NewBlobFile"}
2025-06-30T13:18:27.082Z core/event INFO "" 65 "src/receive_imf.rs:512: Receiving message \"6cba1b96-6c12-48db-beac-88c0bd0494e8@localhost\", seen=false..."
2025-06-30T13:18:27.083Z core/event INFO "" 65 "src/receive_imf.rs:665: Chat assignment is GroupChat { grpid: \"XXXYYYZZZ\" }."
2025-06-30T13:18:27.085Z core/event INFO "" 65 "src/chat.rs:526: Protection status unchanged for Chat#604."
...
2025-06-30T13:18:27.101Z core/event INFO "" 65 "src/chat.rs:526: Protection status unchanged for Chat#541."
2025-06-30T13:18:27.101Z core/event WARNING "" 65 "src/receive_imf.rs:3120: Implicit addition of {ContactId(1947), ..., ContactId(1070)} to chat Chat#1221."
...
2025-06-30T13:18:27.102Z core/event DEBUG "" 65 "ChatModified" {"chatId":1221,"kind":"ChatModified"}
2025-06-30T13:18:27.102Z core/event DEBUG "" 65 "ChatlistItemChanged" {"chatId":1221,"kind":"ChatlistItemChanged"}
2025-06-30T13:18:27.113Z core/event DEBUG "" 65 "MsgsChanged" {"chatId":1221,"kind":"MsgsChanged","msgId":124060}
2025-06-30T13:18:27.128Z core/event DEBUG "" 65 "ChatlistChanged" {"kind":"ChatlistChanged"}
2025-06-30T13:18:27.134Z core/event DEBUG "" 65 "ChatlistItemChanged" {"chatId":1221,"kind":"ChatlistItemChanged"}
2025-06-30T13:18:27.135Z core/event DEBUG "" 65 "MsgsChanged" {"chatId":1221,"kind":"MsgsChanged","msgId":124061}
2025-06-30T13:18:27.135Z core/event DEBUG "" 65 "ChatlistChanged" {"kind":"ChatlistChanged"}
2025-06-30T13:18:27.136Z core/event DEBUG "" 65 "ChatlistItemChanged" {"chatId":1221,"kind":"ChatlistItemChanged"}
2025-06-30T13:18:27.136Z core/event DEBUG "" 65 "MsgsChanged" {"chatId":1221,"kind":"MsgsChanged","msgId":124062}
2025-06-30T13:18:27.137Z core/event DEBUG "" 65 "ChatlistChanged" {"kind":"ChatlistChanged"}
...
Can't check which chat 1221 is because I don't have database anymore, but it is some very high ID, so likely a 1:1 chat with the address-contact to which the reaction was attributed. In existing database verified group chat which also exists before migration has ID 841, way below 1221. During migration its ID should not have changed. But the messages are somehow added to this chat even though the log has a lot of events for 1221.
Reactions are currently assigned to email-contact from_id because of #6947