Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim-plugins.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--juick/plugin.py5
-rw-r--r--url_image_preview/url_image_preview.py2
-rw-r--r--url_shortener/url_shortener.py5
3 files changed, 7 insertions, 5 deletions
diff --git a/juick/plugin.py b/juick/plugin.py
index 7e07185..cef6007 100644
--- a/juick/plugin.py
+++ b/juick/plugin.py
@@ -83,14 +83,15 @@ class JuickPlugin(GajimPlugin):
if self.conn:
self.conn.close()
- 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()
diff --git a/url_image_preview/url_image_preview.py b/url_image_preview/url_image_preview.py
index c408379..0169e4e 100644
--- a/url_image_preview/url_image_preview.py
+++ b/url_image_preview/url_image_preview.py
@@ -53,7 +53,7 @@ class UrlImagePreviewPlugin(GajimPlugin):
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()
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()