diff --git a/src/gui_interface.py b/src/gui_interface.py
index 81deb1ddf4ed4cea060fa665045bfc30e8ec08be..e52ac3b0b63fda3f160d3596f4af3eebf1ea77db 100644
--- a/src/gui_interface.py
+++ b/src/gui_interface.py
@@ -2909,6 +2909,8 @@ class Interface:
         for acct in accounts:
             if not gajim.account_is_connected(acct):
                 continue
+            if not gajim.connections[acct].pep_supported:
+                continue
             if not gajim.config.get_per('accounts', acct, 'publish_tune'):
                 continue
             if gajim.connections[acct].music_track_info == music_track_info: