Per-room avatar and displayname.
This commit is contained in:
@@ -73,7 +73,7 @@ QVariant UserListModel::data(const QModelIndex& index, int role) const {
|
||||
return user->id();
|
||||
}
|
||||
if (role == AvatarRole) {
|
||||
return user->avatarMediaId();
|
||||
return user->avatarMediaId(m_currentRoom);
|
||||
}
|
||||
if (role == ObjectRole) {
|
||||
return QVariant::fromValue(user);
|
||||
|
||||
Reference in New Issue
Block a user