mirror of
https://github.com/rhunk/SnapEnhance.git
synced 2025-06-12 13:17:42 +02:00
feat(notification_blacklist): reactions
This commit is contained in:
@ -354,7 +354,10 @@ class Notifications : Feature("Notifications", loadParams = FeatureLoadParams.IN
|
||||
|
||||
context.log.debug("received message type: $messageType")
|
||||
|
||||
if (states.contains(messageType.replaceFirst("mischief_", ""))) {
|
||||
if (states.contains(messageType.replaceFirst("mischief_", "")
|
||||
.replaceFirst("group_your_", "")
|
||||
.replaceFirst("group_other_", ""))
|
||||
) {
|
||||
param.setResult(null)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user