aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/impl/msghistory
diff options
context:
space:
mode:
authorLyubomir Marinov <lyubomir.marinov@jitsi.org>2011-06-30 08:29:32 +0000
committerLyubomir Marinov <lyubomir.marinov@jitsi.org>2011-06-30 08:29:32 +0000
commite314c85e748c3633c9f620fc3552fe64bbd59259 (patch)
tree2d9c8c83d298ddf66de716a6e9c4d8fecd9ba63f /src/net/java/sip/communicator/impl/msghistory
parentee06f7d446b82fa55c61f0efc6934edc962d191e (diff)
downloadjitsi-e314c85e748c3633c9f620fc3552fe64bbd59259.zip
jitsi-e314c85e748c3633c9f620fc3552fe64bbd59259.tar.gz
jitsi-e314c85e748c3633c9f620fc3552fe64bbd59259.tar.bz2
Adds a missing return and removes a few instance fields in the contact list UI, spares a few allocations in the history.
Diffstat (limited to 'src/net/java/sip/communicator/impl/msghistory')
-rw-r--r--src/net/java/sip/communicator/impl/msghistory/MessageHistoryServiceImpl.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/java/sip/communicator/impl/msghistory/MessageHistoryServiceImpl.java b/src/net/java/sip/communicator/impl/msghistory/MessageHistoryServiceImpl.java
index 9514f71..2382e02 100644
--- a/src/net/java/sip/communicator/impl/msghistory/MessageHistoryServiceImpl.java
+++ b/src/net/java/sip/communicator/impl/msghistory/MessageHistoryServiceImpl.java
@@ -638,7 +638,7 @@ public class MessageHistoryServiceImpl
// the HistoryRecord timestamp is the timestamp when the record
// was written
long messageReceivedDate = msg.getMessageReceivedDate();
- long hrTimestamp = hr.getTimeInMillis();
+ long hrTimestamp = hr.getTimestamp();
if (messageReceivedDate != 0)
{
if(messageReceivedDate - hrTimestamp > 86400000) // 24*60*60*1000
@@ -684,7 +684,7 @@ public class MessageHistoryServiceImpl
// the HistoryRecord timestamp is the timestamp when the record
// was written
long messageReceivedDate = msg.getMessageReceivedDate();
- long hrTimestamp = hr.getTimeInMillis();
+ long hrTimestamp = hr.getTimestamp();
if(messageReceivedDate != 0)
{
if(messageReceivedDate - hrTimestamp > 86400000) // 24*60*60*1000