account: add sendReadReceipt preference
This avoids to duplicate logic for all clients and fix the behavior for swarm. setMessageDisplayed should be called everytime by the client. Then the daemon will refresh the lastDisplayed for account and will or not send the notification to other peers. Note: if notifications are not sent, incoming displayed notifications are also ignored. If we don't send we don't receive too. Change-Id: If0f462ac4670d50a114c4a54bd90d76d83084bd9 GitLab: #599
Showing
- src/account.cpp 13 additions, 6 deletionssrc/account.cpp
- src/account.h 6 additions, 0 deletionssrc/account.h
- src/account_schema.h 1 addition, 0 deletionssrc/account_schema.h
- src/jami/account_const.h 1 addition, 0 deletionssrc/jami/account_const.h
- src/sip/sipaccountbase.cpp 3 additions, 1 deletionsrc/sip/sipaccountbase.cpp
- test/unitTest/conversation/conversation.cpp 93 additions, 0 deletionstest/unitTest/conversation/conversation.cpp
Loading
Please register or sign in to comment