Implement switching in narrow mode
This commit is contained in:
parent
686298e023
commit
d364c29c43
8 changed files with 109 additions and 77 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue