You need to sign in or sign up before continuing.
Commit b1b0d9af authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Fixed JID being stored in room conversation log. JM-732

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@4088 b35dd754-fafc-0310-a699-88a17e54d16e
parent d52444c2
...@@ -845,8 +845,8 @@ public class MUCRoomImpl implements MUCRoom { ...@@ -845,8 +845,8 @@ public class MUCRoomImpl implements MUCRoom {
if (isLogEnabled()) { if (isLogEnabled()) {
MUCRole senderRole = null; MUCRole senderRole = null;
JID senderAddress; JID senderAddress;
if (message.getTo() != null && message.getTo().getResource() != null) { if (message.getFrom() != null && message.getFrom().getResource() != null) {
senderRole = occupants.get(message.getTo().getResource()); senderRole = occupants.get(message.getFrom().getResource());
} }
if (senderRole == null) { if (senderRole == null) {
// The room itself is sending the message // The room itself is sending the message
......
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