core: moved CHAT_* constants from frontends to core constants + uses constants for MESS_TYPE_* in sendMessage
This commit is contained in:
parent
adca9c455d
commit
a9fb2e568e
1 changed files with 14 additions and 8 deletions
|
|
@ -119,6 +119,11 @@ class Const(object):
|
|||
MESS_EXTRA_INFO = "info_type"
|
||||
|
||||
|
||||
## Chat ##
|
||||
CHAT_ONE2ONE = 'one2one'
|
||||
CHAT_GROUP = 'group'
|
||||
|
||||
|
||||
## Presence ##
|
||||
PRESENCE_UNAVAILABLE = 'unavailable'
|
||||
PRESENCE_SHOW_AWAY = 'away'
|
||||
|
|
|
|||
Loading…
Reference in a new issue