Mercurial > libervia-backend
annotate src/__init__.py @ 1989:757c512fe06c
plugin XEP-0045: various fixes/improvments:
- use self.txt_cmds instead of self.host.plugins["XEP-0045"]
- nick and options in join have now default values
- directly raise ConflictError when room is already joined instead of using defer.fail
- removed self.host.getClient where it's now useless because client is used instead of profile
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 01 Jul 2016 00:00:23 +0200 |
parents | 1128feb54180 |
children |
rev | line source |
---|---|
1935
1128feb54180
core: removed pyfeed and xe dependencies:
Goffi <goffi@goffi.org>
parents:
1470
diff
changeset
|
1 from .core.constants import Const as C |
1470
8bfbf5cb0e28
core: moved __version__ to __init__.py, so we can check version by doing "import sat;print(sat.__version__)"
Goffi <goffi@goffi.org>
parents:
224
diff
changeset
|
2 |
8bfbf5cb0e28
core: moved __version__ to __init__.py, so we can check version by doing "import sat;print(sat.__version__)"
Goffi <goffi@goffi.org>
parents:
224
diff
changeset
|
3 __version__ = C.APP_VERSION |