Philipp Hörist pushed to branch master at gajim / gajim
Commits:
944600eb by lovetox at 2021-02-15T16:14:49+01:00
Profile: Check for PubSub instead of vcard-temp
- - - - -
1 changed file:
- gajim/application.py
Changes:
=====================================
gajim/application.py
=====================================
@@ -554,7 +554,7 @@ def _set_shortcuts(self):
self.set_accels_for_action(action, accels)
def _on_feature_discovered(self, event):
- if event.feature == Namespace.VCARD:
+ if event.feature == Namespace.PUBSUB:
action = '%s-profile' % event.account
self.lookup_action(action).set_enabled(True)
elif event.feature == Namespace.MAM_2:
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/944600ebee34e71ca80e224f7ef40619…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/944600ebee34e71ca80e224f7ef40619…
You're receiving this email because of your account on dev.gajim.org.
Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
a8111619 by wurstsalat at 2021-02-14T21:39:15+01:00
Stop early when handling connection-failed in handle_event
Fixes: #10436
- - - - -
1 changed file:
- gajim/gui_interface.py
Changes:
=====================================
gajim/gui_interface.py
=====================================
@@ -1185,16 +1185,16 @@ def add_event(self, account, jid, event):
self.roster.select_contact(bb_jid, bb_account)
def handle_event(self, account, fjid, type_):
+ if type_ in ('connection-lost', 'connection-failed'):
+ app.interface.roster.window.present()
+ return
+
w = None
ctrl = None
resource = app.get_resource_from_jid(fjid)
jid = app.get_jid_without_resource(fjid)
- if type_ == 'connection-lost':
- app.interface.roster.window.present()
- return
-
if type_ in ('printed_gc_msg', 'printed_marked_gc_msg', 'gc_msg'):
w = self.msg_win_mgr.get_window(jid, account)
if jid in self.minimized_controls[account]:
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/a8111619c2b0d1674ebf3b8bcb21193d…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/a8111619c2b0d1674ebf3b8bcb21193d…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits:
a62ab333 by lovetox at 2021-02-14T20:13:19+01:00
Presence: Fix is_nickname_changed check
Check if status code is there before checking nickname, otherwise we
get a attribute error when muc_user is None
- - - - -
1 changed file:
- nbxmpp/structs.py
Changes:
=====================================
nbxmpp/structs.py
=====================================
@@ -916,8 +916,8 @@ class PresenceProperties:
def is_nickname_changed(self):
return (self.from_muc and
self.muc_status_codes is not None and
- self.muc_user.nick is not None and
StatusCode.NICKNAME_CHANGE in self.muc_status_codes and
+ self.muc_user.nick is not None and
self.type == PresenceType.UNAVAILABLE)
@property
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/a62ab33329be1f341295ba34…
--
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/a62ab33329be1f341295ba34…
You're receiving this email because of your account on dev.gajim.org.