plugin XEP_0033: fixes the server part and the tests

This commit is contained in:
souliane 2014-04-11 11:02:42 +02:00
commit f0fa9b699d

View file

@ -58,7 +58,7 @@ class MessageSentAndStored(Exception):
history by the trigger, so the rest of the process should be stopped. This
should normally be raised by the trigger with the minimal priority """
def __init__(self, reason, mess_data):
Exception(reason)
Exception.__init__(self, reason)
self.mess_data = mess_data # added for testing purpose