Mercurial > libervia-backend
view frontends/src/wix/constants.py @ 401:b2caa2615c4c
jp roster name manegement + Pipe transfer
- added experimental pipe transfer protocol (based on xep-0096)
- jp now manage roster name to jid conversion (if an argument correspond to a roster name, it replace it with the corresponding jid)
- jp now add last known resource of when a resource is needed but we have a bare jid (e.g. for file or pipe transfer)
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 07 Oct 2011 00:25:15 +0200 |
parents | 0806a65a5fa9 |
children | 6246eb6d64a0 |
line wrap: on
line source
import sys,os.path import __builtin__ import sat_frontends.wix wix_root = os.path.dirname(sat_frontends.wix.__file__) __builtin__.__dict__['APP_NAME'] = "Wix" __builtin__.__dict__['LICENCE_PATH'] = os.path.join(wix_root,"COPYING") __builtin__.__dict__['msgOFFLINE'] = _("offline") __builtin__.__dict__['msgONLINE'] = _("online") __builtin__.__dict__['const_DEFAULT_GROUP'] = "Unclassed" __builtin__.__dict__['const_STATUS'] = [("", _("Online"), None), ("chat", _("Free for chat"), "green"), ("away", _("AFK"), "brown"), ("dnd", _("DND"), "red"), ("xa", _("Away"), "red")]