@@ -104,7 +104,7 @@ QVariant UserListModel::data(const QModelIndex &index, int role) const
|
|||||||
return UserType::Member;
|
return UserType::Member;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (userPl < pl->powerLevelForState("m.room.message")) {
|
if (userPl < pl->powerLevelForEvent("m.room.message")) {
|
||||||
return UserType::Muted;
|
return UserType::Muted;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user