fix this https://rdrama.net/h/meta/post/271417/i-have-a-forbidden-notification-marseyraging/6450405#context
parent
6a75df56cd
commit
87208684bc
|
@ -950,7 +950,7 @@ class User(Base):
|
||||||
elif self.message_notifications_count > 0:
|
elif self.message_notifications_count > 0:
|
||||||
return 'messages'
|
return 'messages'
|
||||||
elif self.chat_mentions_notifications_count > 0:
|
elif self.chat_mentions_notifications_count > 0:
|
||||||
return 'chat_mentions'
|
return 'chats/'
|
||||||
elif self.chats_notifications_count > 0:
|
elif self.chats_notifications_count > 0:
|
||||||
return 'chats'
|
return 'chats'
|
||||||
elif self.modmail_notifications_count > 0:
|
elif self.modmail_notifications_count > 0:
|
||||||
|
@ -969,7 +969,7 @@ class User(Base):
|
||||||
colors = {
|
colors = {
|
||||||
'': '#dc3545',
|
'': '#dc3545',
|
||||||
'messages': '#d8910d',
|
'messages': '#d8910d',
|
||||||
'chat_mentions': '#dd1ae0',
|
'chats/': '#dd1ae0',
|
||||||
'chats': '#008080',
|
'chats': '#008080',
|
||||||
'modmail': '#f15387',
|
'modmail': '#f15387',
|
||||||
'posts': '#0000ff',
|
'posts': '#0000ff',
|
||||||
|
|
Loading…
Reference in New Issue