diff --git a/src/userlistmodel.cpp b/src/userlistmodel.cpp index 54b0d7b68..8b1ab4c55 100644 --- a/src/userlistmodel.cpp +++ b/src/userlistmodel.cpp @@ -104,7 +104,7 @@ QVariant UserListModel::data(const QModelIndex &index, int role) const return UserType::Member; } - if (userPl < pl->powerLevelForState("m.room.message")) { + if (userPl < pl->powerLevelForEvent("m.room.message")) { return UserType::Muted; }