primitivus: prefill "Join MUC" dialog with only the JID's node part when in debug version + display error directly from the DBus object
This commit is contained in:
parent
d4c627d71f
commit
294b42f15c
1 changed files with 19 additions and 22 deletions
|
|
@ -42,13 +42,8 @@ class Const(constants.Const):
|
|||
XMLUI_STATUS_CANCELLED = constants.Const.XMLUI_DATA_CANCELLED
|
||||
|
||||
# MUC
|
||||
USER_CHAT_STATES = {
|
||||
"active": u'✔',
|
||||
"inactive": u'☄',
|
||||
"gone": u'✈',
|
||||
"composing": u'✎',
|
||||
"paused": u"⦷"
|
||||
}
|
||||
DEFAULT_MUC_NODE = u'sat'
|
||||
DEFAULT_MUC = DEFAULT_MUC_NODE if constants.Const.APP_VERSION.endswith(u'D') else u"%s@%s" % (DEFAULT_MUC_NODE, 'chat.jabberfr.org')
|
||||
|
||||
# Roster
|
||||
CONTACT_GROUPS = 'groups'
|
||||
|
|
@ -62,6 +57,13 @@ class Const(constants.Const):
|
|||
# Chats
|
||||
CHAT_ONE2ONE = 'one2one'
|
||||
CHAT_GROUP = 'group'
|
||||
USER_CHAT_STATES = {
|
||||
"active": u'✔',
|
||||
"inactive": u'☄',
|
||||
"gone": u'✈',
|
||||
"composing": u'✎',
|
||||
"paused": u"⦷"
|
||||
}
|
||||
|
||||
# Widgets management
|
||||
# FIXME: should be in quick_frontend.constant, but Libervia doesn't inherit from it
|
||||
|
|
|
|||
Loading…
Reference in a new issue