aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/plugin/otr
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/java/sip/communicator/plugin/otr')
-rw-r--r--src/net/java/sip/communicator/plugin/otr/ScOtrEngineImpl.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/java/sip/communicator/plugin/otr/ScOtrEngineImpl.java b/src/net/java/sip/communicator/plugin/otr/ScOtrEngineImpl.java
index 7c23559..f60ef33 100644
--- a/src/net/java/sip/communicator/plugin/otr/ScOtrEngineImpl.java
+++ b/src/net/java/sip/communicator/plugin/otr/ScOtrEngineImpl.java
@@ -292,7 +292,8 @@ public class ScOtrEngineImpl
MetaContact metaContact = OtrActivator
.getContactListService().findMetaContactByContact(contact);
if(metaContact != null)
- return ConfigurationUtils.isHistoryLoggingEnabled(metaContact);
+ return ConfigurationUtils.isHistoryLoggingEnabled(
+ metaContact.getMetaUID());
else
return true;
}