diff --git a/url_image_preview/manifest.ini b/url_image_preview/manifest.ini index bb7e692..c6a6ce7 100644 --- a/url_image_preview/manifest.ini +++ b/url_image_preview/manifest.ini @@ -1,7 +1,7 @@ [info] name: Url image preview short_name: url_image_preview -version: 0.5.3 +version: 0.5.4 description: Url image preview in chatbox. authors = Denis Fomin Yann Leboulanger diff --git a/url_image_preview/url_image_preview.py b/url_image_preview/url_image_preview.py index c82af8a..1b6a044 100644 --- a/url_image_preview/url_image_preview.py +++ b/url_image_preview/url_image_preview.py @@ -45,7 +45,8 @@ class UrlImagePreviewPlugin(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