Philipp Hörist pushed to branch master at gajim / gajim
Commits:
835cf86c by Philipp Hörist at 2019-06-16T09:45:55Z
Remove log message
- - - - -
1 changed file:
- gajim/gtk/util.py
Changes:
=====================================
gajim/gtk/util.py
=====================================
@@ -678,8 +678,6 @@ def load_pixbuf(path, size=None):
return GdkPixbuf.Pixbuf.new_from_file_at_scale(path, size, size, True)
except GLib.GError:
- log.warning('loading pixbuf failed. Try to convert '
- 'image with pillow: %s', path)
try:
with open(path, 'rb') as im_handle:
img = Image.open(im_handle)
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/835cf86ca8e6bec61318b3a0fac721dbe1…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/835cf86ca8e6bec61318b3a0fac721dbe1…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
51e73a2e by Daniel Brötzmann at 2019-06-14T22:44:26Z
MucCapsCache: Add more queries
This adds the following queries for room infos:
is_open, is_password_protected, and is_persistent
- - - - -
1 changed file:
- gajim/common/caps_cache.py
Changes:
=====================================
gajim/common/caps_cache.py
=====================================
@@ -505,9 +505,18 @@ class MucCapsCache:
pass
return allowed
+ def is_open(self, jid):
+ return 'muc_membersonly' not in self.cache[jid].features
+
+ def is_password_protected(self, jid):
+ return 'muc_unsecured' not in self.cache[jid].features
+
def is_anonymous(self, jid):
return 'muc_nonanonymous' not in self.cache[jid].features
+ def is_persistent(self, jid):
+ return 'muc_temporary' not in self.cache[jid].features
+
def get_room_infos(self, jid):
room_info = {}
if jid in self.cache:
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/51e73a2eedc49691850dea023abc88448b…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/51e73a2eedc49691850dea023abc88448b…
You're receiving this email because of your account on dev.gajim.org.