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
|
|
@ -53,8 +53,6 @@ class Const(constants.Const):
|
|||
CONTACT_DATA_FORBIDDEN = {CONTACT_GROUPS, CONTACT_RESOURCES, CONTACT_MAIN_RESOURCE, CONTACT_SELECTED, CONTACT_PROFILE} # set of forbidden names for contact data
|
||||
|
||||
# Chats
|
||||
CHAT_ONE2ONE = 'one2one'
|
||||
CHAT_GROUP = 'group'
|
||||
CHAT_STATE_ICON = {
|
||||
"": u" ",
|
||||
"active": u'✔',
|
||||
|
|
|
|||
Loading…
Reference in a new issue