-
- Downloads
swarm: avoid duplicated conversation after a ban
Several improvements are included with this patch: 1. confirmed is resetted when account is removed, this allow to send a request when conversation is added back and reset the whole matrix, avoiding duplicates 2. Banned can be due to harrasement. In this case, keeping the conversation like the old behavior (pre-swarm) is better, to keep proofs. Also re-adding back a contact is immediate if it was a mistake as the conversation is kept back. jami-project#1449 Change-Id: I13da8ce9bd431b91ce7b7d455dae561358c62f10
Showing
- src/jamidht/contact_list.cpp 1 addition, 0 deletionssrc/jamidht/contact_list.cpp
- src/jamidht/conversation_module.cpp 3 additions, 1 deletionsrc/jamidht/conversation_module.cpp
- test/unitTest/conversation/conversationMembersEvent.cpp 131 additions, 0 deletionstest/unitTest/conversation/conversationMembersEvent.cpp
- test/unitTest/conversation/conversationRequest.cpp 1 addition, 1 deletiontest/unitTest/conversation/conversationRequest.cpp
Loading
Please register or sign in to comment