From 3897d131c1cf971a6ceb6c3d86cf83813bc26dcd Mon Sep 17 00:00:00 2001 From: mathieui Date: Thu, 2 Aug 2012 16:24:10 +0200 Subject: 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. --- src/connection.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src/connection.py') 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') -- cgit v1.2.3