Commit 275960f8 authored by Ronan's avatar Ronan

fix(SipAddressesModel): handle correctly chat message changes (do not use...

fix(SipAddressesModel): handle correctly chat message changes (do not use from/to, use local/peer of ChatRoom)
parent 839974f7
...@@ -405,10 +405,8 @@ void SipAddressesModel::handleMessageCountReset (ChatModel *chatModel) { ...@@ -405,10 +405,8 @@ void SipAddressesModel::handleMessageCountReset (ChatModel *chatModel) {
} }
void SipAddressesModel::handleMessageSent (const shared_ptr<linphone::ChatMessage> &message) { void SipAddressesModel::handleMessageSent (const shared_ptr<linphone::ChatMessage> &message) {
addOrUpdateSipAddress( const QString localAddress(Utils::coreStringToAppString(message->getChatRoom()->getLocalAddress()->asStringUriOnly()));
Utils::coreStringToAppString(message->getToAddress()->asStringUriOnly()), addOrUpdateSipAddress(localAddress, message);
message
);
} }
void SipAddressesModel::handlerIsComposingChanged (const shared_ptr<linphone::ChatRoom> &chatRoom) { void SipAddressesModel::handlerIsComposingChanged (const shared_ptr<linphone::ChatRoom> &chatRoom) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment