changeset dd9be0a66aef in /home/hg/repos/gajim

author: lovetox <forenjun...@chelo.at>
branches: 
details:http://hg.gajim.org/gajim?cmd=changeset;node=dd9be0a66aef
description: Add additional_data to ChatEvent

diffstat:

 src/common/events.py |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r e12519bd0b38 -r dd9be0a66aef src/common/events.py
--- a/src/common/events.py      Thu Oct 13 00:31:42 2016 +0200
+++ b/src/common/events.py      Thu Oct 13 00:40:02 2016 +0200
@@ -67,7 +67,7 @@
     def __init__ (self, message, subject, kind, time, encrypted, resource,
     msg_log_id, correct_id=None, xhtml=None, session=None, form_node=None,
     displaymarking=None, sent_forwarded=False, time_=None, 
show_in_roster=False,
-    show_in_systray=True):
+    show_in_systray=True, additional_data=None):
         Event.__init__(self, time_, show_in_roster=show_in_roster,
             show_in_systray=show_in_systray)
         self.message = message
@@ -83,6 +83,7 @@
         self.form_node = form_node
         self.displaymarking = displaymarking
         self.sent_forwarded = sent_forwarded
+        self.additional_data = additional_data
 
 class NormalEvent(ChatEvent):
     type_ = 'normal'
_______________________________________________
Commits mailing list
Commits@gajim.org
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to