From cd50df05cf6c25bc6099a761a9b6196bdac990f0 Mon Sep 17 00:00:00 2001 From: tmolitor Date: Wed, 12 Oct 2016 02:55:32 +0200 Subject: Fix API change for print_special_text (added additional_data={}) --- url_shortener/url_shortener.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'url_shortener/url_shortener.py') diff --git a/url_shortener/url_shortener.py b/url_shortener/url_shortener.py index 14d6802..c9de879 100644 --- a/url_shortener/url_shortener.py +++ b/url_shortener/url_shortener.py @@ -85,14 +85,15 @@ class UrlShortenerPlugin(GajimPlugin): control.disconnect_from_chat_control() self.controls = [] - def print_special_text(self, tv, special_text, other_tags, graphics=True): + def print_special_text(self, tv, special_text, other_tags, graphics=True, + additional_data={}): for control in self.controls: if control.chat_control.conv_textview != tv: continue control.print_special_text(special_text, other_tags, graphics=True) def print_special_text1(self, chat_control, special_text, other_tags=None, - graphics=True): + graphics=True, additional_data={}): for control in self.controls: if control.chat_control == chat_control: control.disconnect_from_chat_control() -- cgit v1.2.3