Don't reset model on account data pushrules event

This commit is contained in:
miruka
2020-11-01 01:23:33 -04:00
parent 99c5346dba
commit 9473e97c61
2 changed files with 19 additions and 2 deletions

View File

@@ -120,6 +120,7 @@ class PushRule(ModelItem):
self.kind is PushRuleKind.Content,
self.kind is PushRuleKind.Override,
self.order,
self.id,
) < (
other.kind is PushRuleKind.Underride,
other.kind is PushRuleKind.Sender,
@@ -127,6 +128,7 @@ class PushRule(ModelItem):
other.kind is PushRuleKind.Content,
other.kind is PushRuleKind.Override,
other.order,
other.id,
)