Commit 4b64522c authored by JC Brand's avatar JC Brand

Fixes #993.

parent c012351d
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
### Bugfixes ### Bugfixes
- Could not register on Ejabberd 18. `"Missing attribute 'id' in tag qualified by namespace 'jabber:client'"` - Could not register on Ejabberd 18. `"Missing attribute 'id' in tag qualified by namespace 'jabber:client'"`
- #993 `moment.format` is not a function error when sending a message.
- #994 TypeError when using the `user.login` API. - #994 TypeError when using the `user.login` API.
- #995 `ChildNode.replaceWith` is not available in Internet Explorer or Safari. Use `Node.replaceChild` instead. - #995 `ChildNode.replaceWith` is not available in Internet Explorer or Safari. Use `Node.replaceChild` instead.
......
...@@ -714,7 +714,7 @@ ...@@ -714,7 +714,7 @@
.c('forwarded', {'xmlns': Strophe.NS.FORWARD}) .c('forwarded', {'xmlns': Strophe.NS.FORWARD})
.c('delay', { .c('delay', {
'xmns': Strophe.NS.DELAY, 'xmns': Strophe.NS.DELAY,
'stamp': moment.format() 'stamp': moment().format()
}).up() }).up()
.cnode(messageStanza.tree()) .cnode(messageStanza.tree())
); );
......
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