From 9633f69b2a9fe3e4aec5667e474a29c3005e45b0 Mon Sep 17 00:00:00 2001 From: Yana Stamcheva Date: Mon, 22 Aug 2011 15:40:55 +0000 Subject: [PATCH] Stores call peer display names in history. --- .../service/callhistory/CallPeerRecord.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/net/java/sip/communicator/service/callhistory/CallPeerRecord.java b/src/net/java/sip/communicator/service/callhistory/CallPeerRecord.java index 259ce30b0..cec0c85d9 100644 --- a/src/net/java/sip/communicator/service/callhistory/CallPeerRecord.java +++ b/src/net/java/sip/communicator/service/callhistory/CallPeerRecord.java @@ -18,6 +18,11 @@ public class CallPeerRecord */ protected String peerAddress = null; + /** + * The display name. + */ + protected String displayName = null; + /** * The start time of the record. */ @@ -44,6 +49,7 @@ public CallPeerRecord( String peerAddress, Date endTime) { this.peerAddress = peerAddress; + this.displayName = displayName; this.startTime = startTime; this.endTime = endTime; } @@ -67,6 +73,16 @@ public String getPeerAddress() return peerAddress; } + /** + * Returns the display name of the call peer in this record. + * + * @return the call peer display name + */ + public String getDisplayName() + { + return displayName; + } + /** * When peer connected to the call * @return Date