diff options
author | mathieui <mathieui@mathieui.net> | 2012-08-02 16:24:10 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2012-08-02 16:24:10 +0200 |
commit | 3897d131c1cf971a6ceb6c3d86cf83813bc26dcd (patch) | |
tree | ef56b17f851e24f879e22c87e27a80d8f69b023d /src/connection.py | |
parent | 1d908702b170e5edb8ca576f54f49a69bd3e2deb (diff) | |
download | poezio-3897d131c1cf971a6ceb6c3d86cf83813bc26dcd.tar.gz poezio-3897d131c1cf971a6ceb6c3d86cf83813bc26dcd.tar.bz2 poezio-3897d131c1cf971a6ceb6c3d86cf83813bc26dcd.tar.xz poezio-3897d131c1cf971a6ceb6c3d86cf83813bc26dcd.zip |
Implement XEP-0012 (last activity) ; Fixes #1870
- Add a /activity command
- Load xep_0012 on start
- Add a 'l' shortcut in the roster to get the last activity
- Using "/activity" in a direct conversation will add a message in the
conversation, and not in the info buffer.
Diffstat (limited to 'src/connection.py')
-rw-r--r-- | src/connection.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/connection.py b/src/connection.py index dc4b170a..4b786f7c 100644 --- a/src/connection.py +++ b/src/connection.py @@ -53,6 +53,7 @@ class Connection(sleekxmpp.ClientXMPP): self.whitespace_keepalive_interval = int(interval) else: self.whitespace_keepalive_interval = 300 + self.register_plugin('xep_0012') self.register_plugin('xep_0030') self.register_plugin('xep_0004') self.register_plugin('xep_0045') |