Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Marcin Mielniczuk
gajim
Commits
944600eb
Commit
944600eb
authored
Feb 15, 2021
by
Philipp Hörist
Browse files
Profile: Check for PubSub instead of vcard-temp
parent
a8111619
Changes
1
Hide whitespace changes
Inline
Side-by-side
gajim/application.py
View file @
944600eb
...
@@ -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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment