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

Fixes #993.

parent c012351d
......@@ -5,6 +5,7 @@
### Bugfixes
- 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.
- #995 `ChildNode.replaceWith` is not available in Internet Explorer or Safari. Use `Node.replaceChild` instead.
......
......@@ -714,7 +714,7 @@
.c('forwarded', {'xmlns': Strophe.NS.FORWARD})
.c('delay', {
'xmns': Strophe.NS.DELAY,
'stamp': moment.format()
'stamp': moment().format()
}).up()
.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