Generate a notification for pending follow requests.
This commit is contained in:
parent
ec45f8d565
commit
6b5644ed00
4 changed files with 10 additions and 3 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue