Philipp Hörist pushed to branch master at gajim / gajim
Commits:
872ee3d6 by Philipp Hörist at 2019-03-06T21:11:35Z
Fix presence subscription
Fixes #9612
- - - - -
1 changed file:
- gajim/common/modules/presence.py
Changes:
=====================================
gajim/common/modules/presence.py
=====================================
@@ -174,7 +174,9 @@ class Presence:
else:
# Convert the inital roster contact to a contact with resource
contact.resource = resource
- event.old_show = status_strings.index(contact.show)
+ event.old_show = 0
+ if contact.show in status_strings:
+ event.old_show = status_strings.index(contact.show)
event.need_add_in_roster = True
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/872ee3d6753912629f000e8cf7114c9105…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/872ee3d6753912629f000e8cf7114c9105…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
74c5f3d0 by André Apitzsch at 2019-03-04T07:20:01Z
Avahi: don't fail if avahi gir is not installed
Fixes #9610
- - - - -
1 changed file:
- gajim/common/zeroconf/zeroconf.py
Changes:
=====================================
gajim/common/zeroconf/zeroconf.py
=====================================
@@ -41,7 +41,7 @@ def test_avahi():
import gi
gi.require_version('Avahi', '0.6')
from gi.repository import Avahi # pylint: disable=unused-variable
- except ImportError:
+ except (ImportError, ValueError):
return False
return True
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/74c5f3d0e940d0ec7babbf3703037641cc…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/74c5f3d0e940d0ec7babbf3703037641cc…
You're receiving this email because of your account on dev.gajim.org.