core: bridge can now be changed in conf
by default DBus bridge is used, but this can be changed in sat.conf's DEFAULT section using "bridge" option.
bridge can be "dbus" (or equivalent "dbus_bridge") or embedded at the moment.
Bridge name used is saved in SAT.bridge_name, and load_bridge method can be used by frontends.
This commit is contained in:
parent
6ad826bb0d
commit
9ce91cf534
1 changed files with 56 additions and 2 deletions
|
|
@ -35,6 +35,10 @@ class Const(object):
|
|||
APP_URL = u'http://salut-a-toi.org'
|
||||
|
||||
|
||||
# Main config ##
|
||||
DEFAULT_BRIDGE = 'dbus'
|
||||
|
||||
|
||||
# Protocol
|
||||
XMPP_C2S_PORT = 5222
|
||||
XMPP_KEEP_ALIFE = 180
|
||||
|
|
|
|||
Loading…
Reference in a new issue