Fix issue after rebase
This commit is contained in:
parent
abb1c3f3c4
commit
ab0141a5c6
@ -31,6 +31,6 @@ class SenderNotificationPermissionCondition(val key: String) : Condition(Kind.se
|
||||
|
||||
|
||||
fun isSatisfied(event: Event, powerLevels: PowerLevels): Boolean {
|
||||
return event.sender != null && powerLevels.getUserPowerLevel(event.sender) >= powerLevels.notificationLevel(key)
|
||||
return event.senderId != null && powerLevels.getUserPowerLevel(event.senderId) >= powerLevels.notificationLevel(key)
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user