From d364c29c43dca128f516c5f7d4e925b27347f558 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Tue, 8 Jun 2021 22:18:51 +0200 Subject: Implement switching in narrow mode --- src/timeline/TimelineModel.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/timeline/TimelineModel.cpp') diff --git a/src/timeline/TimelineModel.cpp b/src/timeline/TimelineModel.cpp index cd3febd5..f29f929e 100644 --- a/src/timeline/TimelineModel.cpp +++ b/src/timeline/TimelineModel.cpp @@ -891,7 +891,6 @@ TimelineModel::updateLastMessage() time}; if (description != lastMessage_) { lastMessage_ = description; - emit manager_->updateRoomsLastMessage(room_id_, lastMessage_); emit lastMessageChanged(); } return; @@ -906,7 +905,6 @@ TimelineModel::updateLastMessage() QString::fromStdString(mtx::accessors::sender(*event)))); if (description != lastMessage_) { lastMessage_ = description; - emit manager_->updateRoomsLastMessage(room_id_, description); emit lastMessageChanged(); } return; -- cgit 1.5.1