Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlovetox <philipp@hoerist.com>2021-02-15 18:14:37 +0300
committerlovetox <philipp@hoerist.com>2021-02-27 14:54:10 +0300
commitaf3c90041385ef2ecfe0deed8ec3e8db26e77362 (patch)
treecd1ef5b17707f2f772fb8bc80848419ebb3ca3f9
parent87427ae942e0158c60859a64001925620bb967c9 (diff)
Profile: Check for PubSub instead of vcard-temp
-rw-r--r--gajim/application.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gajim/application.py b/gajim/application.py
index eb7dc50c5..e17ae7110 100644
--- a/gajim/application.py
+++ b/gajim/application.py
@@ -554,7 +554,7 @@ class GajimApplication(Gtk.Application):
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: