From 9c3fece96bee3c381cf0d7bd7022b46c858c6e1b Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Thu, 24 Jul 2014 02:07:08 +0200 Subject: Use slixmpp --- src/common.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/common.py') diff --git a/src/common.py b/src/common.py index 20700258..d50e7027 100644 --- a/src/common.py +++ b/src/common.py @@ -11,7 +11,7 @@ Various useful functions. from sys import version_info from datetime import datetime, timedelta -from sleekxmpp import JID, InvalidJID +from slixmpp import JID, InvalidJID import base64 import os @@ -283,7 +283,7 @@ def find_delayed_tag(message): """ Check if a message is delayed or not. - :param sleekxmpp.Message message: The message to check. + :param slixmpp.Message message: The message to check. :return: A tuple containing (True, the datetime) or (False, None) :rtype: :py:class:`tuple` """ @@ -521,7 +521,7 @@ def format_gaming_string(infos): def safeJID(*args, **kwargs): """ - Construct a :py:class:`sleekxmpp.JID` object from a string. + Construct a :py:class:`slixmpp.JID` object from a string. Used to avoid tracebacks during is stringprep fails (fall back to a JID with an empty string). -- cgit v1.2.3