use bareJID in direct message

when received a direct message, it works normally.
and if then received a message from same user but different resource, candy showed another room.