Commit 1e8f9311 authored by LiamGregory's avatar LiamGregory

Fix for Monitoring Wrong JID Returned

Changed so that correct JID is returned
parent e27d0557
......@@ -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