Mercurial > libervia-backend
diff src/core/constants.py @ 2460:feaacc462fef
core: moved CHAT_* constants from frontends to core constants + uses constants for MESS_TYPE_* in sendMessage
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 03 Jan 2018 00:13:48 +0100 |
parents | 8b37a62336c3 |
children | 0046283a285d |
line wrap: on
line diff
--- a/src/core/constants.py Tue Dec 12 01:07:25 2017 +0100 +++ b/src/core/constants.py Wed Jan 03 00:13:48 2018 +0100 @@ -119,6 +119,11 @@ MESS_EXTRA_INFO = "info_type" + ## Chat ## + CHAT_ONE2ONE = 'one2one' + CHAT_GROUP = 'group' + + ## Presence ## PRESENCE_UNAVAILABLE = 'unavailable' PRESENCE_SHOW_AWAY = 'away'