igniterealtime/Openfire — pull request #40 by sco0ter (2014-06-07 21:21:40+00:00)
Title: OF-818 Message routing to bare JID can route to negative priority resour...

...ces

This commit fixes the regression, that was introduced with the addition of Message Carbons.
Message Carbons are delivered to all non-negative sessions.
If there's no Message Carbons-enabled session, it will be delivered to the highest priority session only.