candy-chat / candy

JavaScript-based multi-user chat client for XMPP.
http://candy-chat.github.io/candy
MIT License
1.32k stars 370 forks source link

Fix handling an empty priority #408

Closed bklang closed 9 years ago

bklang commented 9 years ago

Per http://xmpp.org/rfcs/rfc3921.html#rfc.section.2.2.2.3 “If no priority is provided, a server SHOULD consider the priority to be zero.”

benlangfeld commented 9 years ago

Maybe a matching test? :pray:

bklang commented 9 years ago

@benlangfeld test added

benlangfeld commented 9 years ago

Could you please repeat this PR against the master branch? The dev branch is no longer used.

benlangfeld commented 9 years ago

Of course that was a stupid request. I cherry-picked cleanly. All done :)