Commit bbcfc9f9 authored by JC Brand's avatar JC Brand

Bugfix. 2nd parameter for `api.hook` is the context

parent 71cfc7ab
...@@ -685,7 +685,7 @@ const st = { ...@@ -685,7 +685,7 @@ const st = {
* *Hook* which allows plugins to add additional parsing * *Hook* which allows plugins to add additional parsing
* @event _converse#parseMUCMessage * @event _converse#parseMUCMessage
*/ */
return api.hook('parseMUCMessage', attrs); return api.hook('parseMUCMessage', stanza, attrs);
}, },
/** /**
......
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