From 000f7cfa8db73c78bb2aae96cc735df68ed35ffe Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sat, 21 May 2016 18:55:45 +0200 Subject: [PATCH] fix attribute name --- src/common/events.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/events.py b/src/common/events.py index 832612b34..742b28fa8 100644 --- a/src/common/events.py +++ b/src/common/events.py @@ -129,7 +129,7 @@ class UnsubscribedEvent(Event): class GcInvitationtEvent(Event): type_ = 'gc-invitation' - def __init__(self, room_jid, reason, password, is_continued, from_jid, + def __init__(self, room_jid, reason, password, is_continued, jid_from, time_=None, show_in_roster=False, show_in_systray=True): Event.__init__(self, time_, show_in_roster=show_in_roster, show_in_systray=show_in_systray) @@ -137,7 +137,7 @@ class GcInvitationtEvent(Event): self.reason = reason self.password = password self.is_continued = is_continued - self.from_jid = from_jid + self.jid_from = jid_from class FileRequestEvent(Event): type_ = 'file-request'