Fix avatar changes.
This commit is contained in:
parent
8959be2cb8
commit
92b1458c4a
|
@ -70,6 +70,8 @@ void RoomListModel::connectRoomSignals(SpectralRoom* room) {
|
||||||
[=] { unreadMessagesChanged(room); });
|
[=] { unreadMessagesChanged(room); });
|
||||||
connect(room, &Room::notificationCountChanged, this,
|
connect(room, &Room::notificationCountChanged, this,
|
||||||
[=] { unreadMessagesChanged(room); });
|
[=] { unreadMessagesChanged(room); });
|
||||||
|
connect(room, &Room::avatarChanged, this,
|
||||||
|
[this, room] { refresh(room, {AvatarRole}); });
|
||||||
connect(room, &Room::tagsChanged, this, [=] { refresh(room); });
|
connect(room, &Room::tagsChanged, this, [=] { refresh(room); });
|
||||||
connect(room, &Room::joinStateChanged, this, [=] { refresh(room); });
|
connect(room, &Room::joinStateChanged, this, [=] { refresh(room); });
|
||||||
connect(room, &Room::addedMessages, this,
|
connect(room, &Room::addedMessages, this,
|
||||||
|
|
Loading…
Reference in New Issue