Skip to content

Commit 1e8f931

Browse files
committed
Fix for Monitoring Wrong JID Returned
Changed so that correct JID is returned
1 parent e27d055 commit 1e8f931

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/monitoring/src/java/org/jivesoftware/openfire/archive/Conversation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ public List<ArchivedMessage> getMessages() {
315315
JID toJID = new JID(rs.getString(3));
316316
String toJIDResource = rs.getString(4);
317317
if (toJIDResource != null && !"".equals(toJIDResource)) {
318-
toJID = new JID(rs.getString(1) + "/" + toJIDResource);
318+
toJID = new JID(rs.getString(3) + "/" + toJIDResource);
319319
}
320320
Date date = new Date(rs.getLong(5));
321321
String body = DbConnectionManager.getLargeTextField(rs, 6);

0 commit comments

Comments
 (0)