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

rename newUnreadMessage to newInteraction

- following lrc modification.

Change-Id: I6710bf59c2b1213c6b1a92b9ddc71d8528f9b7a2
Reviewed-by: default avatarAnthony Léonard <anthony.leonard@savoirfairelinux.com>
parent aaf8b0ff
......@@ -375,7 +375,7 @@ webkit_chat_container_ready(ChatView* self)
load_participants_images(self);
priv->new_interaction_connection = QObject::connect(
&*priv->accountContainer_->info.conversationModel, &lrc::api::ConversationModel::newUnreadMessage,
&*priv->accountContainer_->info.conversationModel, &lrc::api::ConversationModel::newInteraction,
[self, priv](const std::string& uid, uint64_t interactionId, lrc::api::interaction::Info interaction) {
if (!priv->conversation_) return;
if(uid == priv->conversation_->uid) {
......
......@@ -672,7 +672,7 @@ CppImpl::setCallInfo()
new_message_connection = QObject::connect(
&*accountContainer->info.conversationModel,
&lrc::api::ConversationModel::newUnreadMessage,
&lrc::api::ConversationModel::newInteraction,
[this] (const std::string& uid, uint64_t msgId, lrc::api::interaction::Info msg) {
Q_UNUSED(uid)
Q_UNUSED(msgId)
......
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