-
- Downloads
swarm: fix racecondition with acceptTrustRequest
AcceptTrustRequest should update conversation's module to directly return the syncing conversation. Moreover, configurationMutex_ should be recursive to allow sync between trust and conversation's requests. This fix ut_conversationRequest where the problem was that the conversation's requests were updated after ContactAdded, causing removeContact() to remove the conversation, but acceptTrustRequest re-adds it during the operation. Change-Id: If676dc58290f87c289a6e63eb9afa04d2cc25df5 GitLab: #659
Showing
- src/account.h 1 addition, 1 deletionsrc/account.h
- src/jamidht/jamiaccount.cpp 30 additions, 44 deletionssrc/jamidht/jamiaccount.cpp
- src/jamidht/sync_module.cpp 1 addition, 1 deletionsrc/jamidht/sync_module.cpp
- src/sip/sipaccount.cpp 8 additions, 7 deletionssrc/sip/sipaccount.cpp
- test/unitTest/conversation/conversationRequest.cpp 0 additions, 1 deletiontest/unitTest/conversation/conversationRequest.cpp
Loading
Please register or sign in to comment