mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-14 12:46:49 +00:00
fix: Inverted power level check in extremity squash
This commit is contained in:
1 parent
350f789737
commit
16f5d4b0e2
1 file changed
+2
-1
@@ -284,7 +284,8 @@ impl super::Service {
|
||||
.await;
|
||||
let mut local_users = self.services.state_cache.local_users_in_room(room_id);
|
||||
while let Some(user_id) = local_users.next().await {
|
||||
if power_levels.user_can_send_message(&user_id, "org.matrix.dummy_event".into()) {
|
||||
if !power_levels.user_can_send_message(&user_id, "org.matrix.dummy_event".into())
|
||||
{
|
||||
trace!(%user_id, "user does not have power level to send dummy event, skipping");
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user