quick app: check type in notify
This commit is contained in:
parent
61765efd9e
commit
2455e35c28
1 changed files with 4 additions and 2 deletions
|
|
@ -86,7 +86,8 @@ class Const(constants.Const):
|
|||
LISTENERS = {'avatar', 'nick', 'presence', 'profilePlugged', 'disconnect', 'gotMenus', 'menu', 'notification', 'notificationsClear', 'progressFinished', 'progressError'}
|
||||
|
||||
# Notifications
|
||||
NOTIFY_MESSAGE = 'MESSAGE' # a message was received
|
||||
NOTIFY_MENTION = 'MENTION' # user was mentionned
|
||||
NOTIFY_MESSAGE = 'MESSAGE' # a message has been received
|
||||
NOTIFY_MENTION = 'MENTION' # user has been mentionned
|
||||
NOTIFY_PROGRESS_END = 'PROGRESS_END' # a progression has finised
|
||||
NOTIFY_GENERIC = 'GENERIC' # a notification which has not its own type
|
||||
NOTIFY_ALL = (NOTIFY_MESSAGE, NOTIFY_MENTION, NOTIFY_PROGRESS_END, NOTIFY_GENERIC)
|
||||
|
|
|
|||
Loading…
Reference in a new issue