-
-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Add self-addition message to chat when recreating member list
A user reported to me that after they left a group, they were implicitly readded, but there's no any readdition message, so currently it looks in the chat like leaving it has no effect, just new messages continue to arrive. The readdition probably happened because some member didn't receive the user's self-removal message, anyway, at least there must be a message that the user is readded, even if it isn't known by whom.
- Loading branch information
Showing
3 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
test-data/golden/receive_imf_recreate_member_list_on_missing_add_of_self
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Group#Chat#10: Group [2 member(s)] | ||
-------------------------------------------------------------------------------- | ||
Msg#10: info (Contact#Contact#Info): Member Me ([email protected]) added. [NOTICED][INFO] | ||
Msg#11: (Contact#Contact#10): second message [FRESH] | ||
Msg#12🔒: Me (Contact#Contact#Self): You left the group. [INFO] √ | ||
Msg#13: (Contact#Contact#10): 4th message [FRESH] | ||
Msg#14: info (Contact#Contact#Info): Member Me ([email protected]) added. [NOTICED][INFO] | ||
Msg#15: (Contact#Contact#10): 6th message [FRESH] | ||
-------------------------------------------------------------------------------- |