aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamian Minkov <damencho@jitsi.org>2006-10-14 12:22:21 +0000
committerDamian Minkov <damencho@jitsi.org>2006-10-14 12:22:21 +0000
commitfad0cf4b013517fe5774aa64f2aaca167884daf4 (patch)
tree0be50c5ed8c01781fb383d0971c74bd06022b966
parent9ca9a067ebbeb117b79002d86ae2e97b3a05de99 (diff)
downloadjitsi-fad0cf4b013517fe5774aa64f2aaca167884daf4.zip
jitsi-fad0cf4b013517fe5774aa64f2aaca167884daf4.tar.gz
jitsi-fad0cf4b013517fe5774aa64f2aaca167884daf4.tar.bz2
Get of the Source call for removed participant changed.
-rw-r--r--src/net/java/sip/communicator/impl/callhistory/CallHistoryServiceImpl.java10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/net/java/sip/communicator/impl/callhistory/CallHistoryServiceImpl.java b/src/net/java/sip/communicator/impl/callhistory/CallHistoryServiceImpl.java
index c360d4a..5c5a79f 100644
--- a/src/net/java/sip/communicator/impl/callhistory/CallHistoryServiceImpl.java
+++ b/src/net/java/sip/communicator/impl/callhistory/CallHistoryServiceImpl.java
@@ -730,11 +730,12 @@ public class CallHistoryServiceImpl
/**
* Adding a record for removing participant from call
* @param callParticipant CallParticipant
+ * @param srcCall Call
*/
- private void handleParticipantRemoved(CallParticipant callParticipant)
+ private void handleParticipantRemoved(CallParticipant callParticipant,
+ Call srcCall)
{
- logger.info("handleParticipantRemoved");
- CallRecord callRecord = findCallRecord(callParticipant.getCall());
+ CallRecord callRecord = findCallRecord(srcCall);
String pAddress = callParticipant.getAddress();
CallParticipantRecord cpRecord =
@@ -890,7 +891,8 @@ public class CallHistoryServiceImpl
public void callParticipantRemoved(CallParticipantEvent evt)
{
- handleParticipantRemoved(evt.getSourceCallParticipant());
+ handleParticipantRemoved(evt.getSourceCallParticipant(),
+ evt.getSourceCall());
}
public void callStateChanged(CallChangeEvent evt)