diff --git a/lib/felix.client.run.properties b/lib/felix.client.run.properties
index aa418079e..d9b76be43 100644
--- a/lib/felix.client.run.properties
+++ b/lib/felix.client.run.properties
@@ -118,6 +118,7 @@ felix.auto.start.60= \
reference:file:sc-bundles/msghistory.jar \
reference:file:sc-bundles/callhistory.jar \
reference:file:sc-bundles/filehistory.jar \
+ reference:file:sc-bundles/metahistory.jar \
reference:file:sc-bundles/audionotifier.jar \
reference:file:sc-bundles/keybindings.jar \
reference:file:sc-bundles/notification.jar
diff --git a/src/net/java/sip/communicator/impl/gui/GuiActivator.java b/src/net/java/sip/communicator/impl/gui/GuiActivator.java
index 127d5b998..32b349a9f 100644
--- a/src/net/java/sip/communicator/impl/gui/GuiActivator.java
+++ b/src/net/java/sip/communicator/impl/gui/GuiActivator.java
@@ -18,6 +18,7 @@
import net.java.sip.communicator.service.fileaccess.*;
import net.java.sip.communicator.service.gui.*;
import net.java.sip.communicator.service.keybindings.*;
+import net.java.sip.communicator.service.metahistory.*;
import net.java.sip.communicator.service.msghistory.*;
import net.java.sip.communicator.service.notification.*;
import net.java.sip.communicator.service.protocol.*;
@@ -42,7 +43,7 @@ public class GuiActivator implements BundleActivator
private static ConfigurationService configService;
- private static MessageHistoryService msgHistoryService;
+ private static MetaHistoryService metaHistoryService;
private static MetaContactListService metaCListService;
@@ -221,23 +222,23 @@ public static ConfigurationService getConfigurationService() {
}
/**
- * Returns the MessageHistoryService obtained from the bundle
+ * Returns the MetaHistoryService obtained from the bundle
* context.
- * @return the MessageHistoryService obtained from the bundle
+ * @return the MetaHistoryService obtained from the bundle
* context
*/
- public static MessageHistoryService getMsgHistoryService() {
- if (msgHistoryService == null)
+ public static MetaHistoryService getMetaHistoryService() {
+ if (metaHistoryService == null)
{
ServiceReference serviceReference = bundleContext
- .getServiceReference(MessageHistoryService.class.getName());
+ .getServiceReference(MetaHistoryService.class.getName());
if (serviceReference != null)
- msgHistoryService = (MessageHistoryService) bundleContext
+ metaHistoryService = (MetaHistoryService) bundleContext
.getService(serviceReference);
}
- return msgHistoryService;
+ return metaHistoryService;
}
/**
diff --git a/src/net/java/sip/communicator/impl/gui/main/chat/ChatConversationComponent.java b/src/net/java/sip/communicator/impl/gui/main/chat/ChatConversationComponent.java
index eecc203d1..7e9c713fc 100644
--- a/src/net/java/sip/communicator/impl/gui/main/chat/ChatConversationComponent.java
+++ b/src/net/java/sip/communicator/impl/gui/main/chat/ChatConversationComponent.java
@@ -122,6 +122,8 @@ protected void setWarningStyle(boolean isWarningStyle)
backgroundColor = warningColor;
else
backgroundColor = defaultColor;
+
+ this.repaint();
}
/**
diff --git a/src/net/java/sip/communicator/impl/gui/main/chat/ChatPanel.java b/src/net/java/sip/communicator/impl/gui/main/chat/ChatPanel.java
index 64edd50f9..d05d019fb 100644
--- a/src/net/java/sip/communicator/impl/gui/main/chat/ChatPanel.java
+++ b/src/net/java/sip/communicator/impl/gui/main/chat/ChatPanel.java
@@ -23,9 +23,10 @@
import net.java.sip.communicator.impl.gui.main.chat.filetransfer.*;
import net.java.sip.communicator.impl.gui.utils.*;
import net.java.sip.communicator.service.contactlist.*;
+import net.java.sip.communicator.service.filehistory.*;
import net.java.sip.communicator.service.gui.*;
import net.java.sip.communicator.service.gui.event.*;
-import net.java.sip.communicator.service.msghistory.*;
+import net.java.sip.communicator.service.metahistory.*;
import net.java.sip.communicator.service.protocol.*;
import net.java.sip.communicator.service.protocol.event.*;
import net.java.sip.communicator.util.*;
@@ -454,10 +455,10 @@ public boolean isWriteAreaEmpty()
* @param escapedMessageID The incoming message needed to be ignored if
* contained in history.
*/
- private void processHistory( Collection historyList,
+ private void processHistory( Collection