Philipp Hörist pushed to branch gajim_0.16 at gajim / gajim

Commits:
9e4d3c75 by Philipp Hörist at 2017-08-10T23:38:08+02:00
Make method static

Or we would need to pass `self` as an argument

- - - - -


1 changed file:

- src/common/connection_handlers_events.py


Changes:

=====================================
src/common/connection_handlers_events.py
=====================================
--- a/src/common/connection_handlers_events.py
+++ b/src/common/connection_handlers_events.py
@@ -2537,6 +2537,7 @@ class NotificationEvent(nec.NetworkIncomingEvent):
 
         self.do_popup = False
 
+    @staticmethod
     def get_path_to_generic_or_avatar(generic, jid=None, suffix=None):
         """
         Choose between avatar image and default image



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/9e4d3c75156f2a88052d20b366ac5252024b6e41

---
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/9e4d3c75156f2a88052d20b366ac5252024b6e41
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
Commits@gajim.org
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to