Fixed typo
This commit is contained in:
parent
ab12e28d3d
commit
7f706dfc51
@ -579,7 +579,7 @@ class User:
|
|||||||
def __hash__(self):
|
def __hash__(self):
|
||||||
return hash(id)
|
return hash(id)
|
||||||
|
|
||||||
def wants_notification(self, notification_type: NotificationType):
|
def wants_notifications(self, notification_type: NotificationType):
|
||||||
return notification_type in self.notify_event
|
return notification_type in self.notify_event
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user