From d7fd29562b4ec682fec808d66d87493921f86b2d Mon Sep 17 00:00:00 2001 From: Yana Stamcheva Date: Wed, 3 Oct 2007 15:39:19 +0000 Subject: [PATCH] Use createFromRowID instead of createFromID for IDs that are not coming from the XML itself. --- .../impl/callhistory/CallHistoryServiceImpl.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/net/java/sip/communicator/impl/callhistory/CallHistoryServiceImpl.java b/src/net/java/sip/communicator/impl/callhistory/CallHistoryServiceImpl.java index 96f42a6a8..22b06b856 100644 --- a/src/net/java/sip/communicator/impl/callhistory/CallHistoryServiceImpl.java +++ b/src/net/java/sip/communicator/impl/callhistory/CallHistoryServiceImpl.java @@ -311,8 +311,10 @@ private History getHistory(Contact localContact, Contact remoteContact) String remoteId = remoteContact == null ? "default" : remoteContact .getAddress(); - HistoryID historyId = HistoryID.createFromID(new String[] { "callhistory", - localId, remoteId }); + HistoryID historyId = HistoryID.createFromRawID( + new String[] { "callhistory", + localId, + remoteId }); if (this.historyService.isHistoryExisting(historyId)) {