forked from GitHub-Mirror/riotX-android
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 {
|
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…
Reference in New Issue
Block a user