Commit ff0cb03e authored by Anthony Léonard's avatar Anthony Léonard Committed by Nicolas Jager

fix renamed signal from LRC

newUnreadMessage -> newInteraction

Change-Id: Ie859c33c531dbfa3e2b4348ead40e6a2444348c5
Reviewed-by: default avatarNicolas Jäger <nicolas.jager@savoirfairelinux.com>
parent 97eba80b
......@@ -84,8 +84,8 @@
// Signal triggered when messages are received
QObject::disconnect(newMessageSignal_);
newMessageSignal_ = QObject::connect(convModel_, &lrc::api::ConversationModel::newUnreadMessage,
[self](const std::string& uid, uint64_t msgId, const lrc::api::interaction::Info& msg){
newMessageSignal_ = QObject::connect(convModel_, &lrc::api::ConversationModel::newInteraction,
[self](const std::string& uid, uint64_t interactionId, const lrc::api::interaction::Info& interaction){
if (uid != convUid_)
return;
[conversationView reloadData];
......
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