Fix avatar changes.

square-messages
Black Hat 2018-12-03 20:11:24 +08:00
parent 8959be2cb8
commit 92b1458c4a
1 changed files with 2 additions and 0 deletions

View File

@ -70,6 +70,8 @@ void RoomListModel::connectRoomSignals(SpectralRoom* room) {
[=] { unreadMessagesChanged(room); });
connect(room, &Room::notificationCountChanged, this,
[=] { unreadMessagesChanged(room); });
connect(room, &Room::avatarChanged, this,
[this, room] { refresh(room, {AvatarRole}); });
connect(room, &Room::tagsChanged, this, [=] { refresh(room); });
connect(room, &Room::joinStateChanged, this, [=] { refresh(room); });
connect(room, &Room::addedMessages, this,