diff options
author | tmolitor <thilo@eightysoft.de> | 2016-10-12 03:55:32 +0300 |
---|---|---|
committer | tmolitor <thilo@eightysoft.de> | 2016-10-12 03:55:32 +0300 |
commit | cd50df05cf6c25bc6099a761a9b6196bdac990f0 (patch) | |
tree | 0f55051c67849b2af5d399ebc807399c0a50723d /url_shortener/url_shortener.py | |
parent | 92790088e90bad19148cd4ad0ff5a794ec4eb2c5 (diff) |
Fix API change for print_special_text (added additional_data={})
Diffstat (limited to 'url_shortener/url_shortener.py')
-rw-r--r-- | url_shortener/url_shortener.py | 5 |
1 files changed, 3 insertions, 2 deletions
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() |