Commit 944600eb authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Profile: Check for PubSub instead of vcard-temp

parent a8111619
...@@ -554,7 +554,7 @@ class GajimApplication(Gtk.Application): ...@@ -554,7 +554,7 @@ class GajimApplication(Gtk.Application):
self.set_accels_for_action(action, accels) self.set_accels_for_action(action, accels)
def _on_feature_discovered(self, event): def _on_feature_discovered(self, event):
if event.feature == Namespace.VCARD: if event.feature == Namespace.PUBSUB:
action = '%s-profile' % event.account action = '%s-profile' % event.account
self.lookup_action(action).set_enabled(True) self.lookup_action(action).set_enabled(True)
elif event.feature == Namespace.MAM_2: elif event.feature == Namespace.MAM_2:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment