Oops, *I* made an error in last changeset

This commit is contained in:
Jean-Marie Traissard 2008-04-22 18:48:41 +00:00
parent ea3f446d8a
commit a43e6d2cfa
1 changed files with 2 additions and 2 deletions

View File

@ -195,8 +195,8 @@ def user_send_activity(account, activity, subactivity = '', message = ''):
gajim.connections[account].send_pb_publish('', xmpp.NS_ACTIVITY, item, '0')
def user_send_tune(account, artist = '', title = '', source = '', track = 0,length = 0, items = None):
if gajim.config.get('publish_tune') and \
gajim.connections[account].pep_supported:
if not (gajim.config.get('publish_tune') and \
gajim.connections[account].pep_supported):
return
item = xmpp.Node('tune', {'xmlns': xmpp.NS_TUNE})
if artist != '':