Commit a6024d80 authored by Dave Cridland's avatar Dave Cridland

Merge pull request #588 from LiamGregory/master

Fix for Monitoring Plugin Wrong JID Returned
parents 3201bf15 1e8f9311
......@@ -315,7 +315,7 @@ public class Conversation implements Externalizable {
JID toJID = new JID(rs.getString(3));
String toJIDResource = rs.getString(4);
if (toJIDResource != null && !"".equals(toJIDResource)) {
toJID = new JID(rs.getString(1) + "/" + toJIDResource);
toJID = new JID(rs.getString(3) + "/" + toJIDResource);
}
Date date = new Date(rs.getLong(5));
String body = DbConnectionManager.getLargeTextField(rs, 6);
......
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