-
- Downloads
swarm: link trust requests and conversation's requests
This is only to avoid to return weird states from the daemon to the client. But if a conversation is added through addContact, removeContact should be called to removes it. However, if removeConversation() is called, the conversationId in contact's details MUST be updated. Same for acceptConversationRequest, this should removes related trust requests Change-Id: I4b273075862cdcdffc7f13c1b5e581a2eebc411d
Showing
- src/jamidht/conversation_module.cpp 36 additions, 22 deletionssrc/jamidht/conversation_module.cpp
- src/jamidht/conversation_module.h 3 additions, 1 deletionsrc/jamidht/conversation_module.h
- src/jamidht/jamiaccount.cpp 33 additions, 7 deletionssrc/jamidht/jamiaccount.cpp
- src/jamidht/jamiaccount.h 11 additions, 0 deletionssrc/jamidht/jamiaccount.h
- test/unitTest/conversation/conversation.cpp 184 additions, 0 deletionstest/unitTest/conversation/conversation.cpp
Loading
Please register or sign in to comment