Commit 80a69393 authored by Philipp Hörist's avatar Philipp Hörist

Jingle: Fix invalid IQ error type

parent 527ceeb8
......@@ -588,7 +588,7 @@ def __broadcast(self, stanza, jingle, error, action):
creator = content['creator']
if (creator, name) not in self.contents:
text = 'Content %s (created by %s) does not exist' % (name, creator)
self.__send_error(stanza, 'bad-request', text=text, type_='_modify')
self.__send_error(stanza, 'bad-request', text=text, type_='modify')
raise nbxmpp.NodeProcessed
cn = self.contents[(creator, name)]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment