Fix sending private messages not working in most circumstances. Also handle messages from users whose 'resource' isn't in the chatroom
Fix sending private messages not working in most circumstances.
Also handle messages from users whose 'resource' isn't in the chatroom

foonull/HaloMD,foonull/HaloMD,foonull/HaloMD,foonull/HaloMD,foonull/HaloMD,foonull/HaloMD,foonull/HaloMD