core, plugins: fixed bad namespace in stanza creation
This commit is contained in:
parent
20815b3ec5
commit
a6d8990e49
1 changed files with 41 additions and 41 deletions
|
|
@ -80,7 +80,7 @@ class Radiocol():
|
|||
|
||||
def createRadiocolElt(self, to_jid, type="normal"):
|
||||
type = "normal" if to_jid.resource else "groupchat"
|
||||
elt = domish.Element(('jabber:client','message'))
|
||||
elt = domish.Element((None,'message'))
|
||||
elt["to"] = to_jid.full()
|
||||
elt["type"] = type
|
||||
elt.addElement((NC_RADIOCOL, RADIOC_TAG))
|
||||
|
|
@ -88,11 +88,11 @@ class Radiocol():
|
|||
|
||||
def __create_started_elt(self):
|
||||
"""Create a game_started domish element"""
|
||||
started_elt = domish.Element(('','started'))
|
||||
started_elt = domish.Element((None,'started'))
|
||||
return started_elt
|
||||
|
||||
def __create_preload_elt(self, sender, filename, title, artist, album):
|
||||
preload_elt = domish.Element(('','preload'))
|
||||
preload_elt = domish.Element((None,'preload'))
|
||||
preload_elt['sender'] = sender
|
||||
preload_elt['filename'] = filename #XXX: the frontend should know the temporary directory where file is put
|
||||
preload_elt['title'] = title
|
||||
|
|
|
|||
Loading…
Reference in a new issue