don't crash when dbus is not supported
This commit is contained in:
parent
14f1232308
commit
4f4e9a3723
|
@ -835,6 +835,7 @@ class ConnectionDisco:
|
|||
if identity['category'] == 'pubsub' and identity['type'] == \
|
||||
'pep':
|
||||
self.pep_supported = True
|
||||
if dbus_support.supported:
|
||||
listener = MusicTrackListener.get()
|
||||
track = listener.get_playing_track()
|
||||
if gajim.config.get('publish_tune'):
|
||||
|
|
Loading…
Reference in New Issue