Update room list subtitle when sending message

This commit is contained in:
Tobias Fella
2022-11-09 21:53:24 +01:00
parent 089c6c1a46
commit d13c00bb20

View File

@@ -172,6 +172,9 @@ void RoomListModel::connectRoomSignals(NeoChatRoom *room)
connect(room, &Room::addedMessages, this, [this, room] {
refresh(room, {LastEventRole, SubtitleTextRole});
});
connect(room, &Room::pendingEventMerged, this, [this, room] {
refresh(room, {LastEventRole, SubtitleTextRole});
});
#ifndef QUOTIENT_07
connect(room, &Room::notificationCountChanged, this, &RoomListModel::handleNotifications);
#endif