1
0
Fork 0

Generate a notification for pending follow requests.

This commit is contained in:
Adam Kelly 2020-03-13 13:13:32 +00:00
parent ec45f8d565
commit 6b5644ed00
4 changed files with 10 additions and 3 deletions

View file

@ -107,7 +107,8 @@ class Notification(FedireadsModel):
'FAVORITE',
'REPLY',
'TAG',
'FOLLOW'
'FOLLOW',
'FOLLOW_REQUEST'
]
if not self.notification_type in types:
raise ValueError('Invalid notitication type')