aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/impl/protocol/dict/OperationSetBasicInstantMessagingDictImpl.java
diff options
context:
space:
mode:
authorEmil Ivov <emcho@jitsi.org>2008-07-11 23:58:06 +0000
committerEmil Ivov <emcho@jitsi.org>2008-07-11 23:58:06 +0000
commit7fc0bdc1e4ed324b6442e4e7d70b5be81cb368cb (patch)
tree8275eec33d79dc9538b3ce660e187a296ee0f076 /src/net/java/sip/communicator/impl/protocol/dict/OperationSetBasicInstantMessagingDictImpl.java
parent2660062eb4bb2994e35fd5e8be9d55cc8f8f05d5 (diff)
downloadjitsi-7fc0bdc1e4ed324b6442e4e7d70b5be81cb368cb.zip
jitsi-7fc0bdc1e4ed324b6442e4e7d70b5be81cb368cb.tar.gz
jitsi-7fc0bdc1e4ed324b6442e4e7d70b5be81cb368cb.tar.bz2
Added support for formatted messags in XMPP. Introduced a HTML_MIME_TYPE static field in OpSetBasicInstantMessaging
Diffstat (limited to 'src/net/java/sip/communicator/impl/protocol/dict/OperationSetBasicInstantMessagingDictImpl.java')
-rw-r--r--src/net/java/sip/communicator/impl/protocol/dict/OperationSetBasicInstantMessagingDictImpl.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/java/sip/communicator/impl/protocol/dict/OperationSetBasicInstantMessagingDictImpl.java b/src/net/java/sip/communicator/impl/protocol/dict/OperationSetBasicInstantMessagingDictImpl.java
index c395464..626dda0 100644
--- a/src/net/java/sip/communicator/impl/protocol/dict/OperationSetBasicInstantMessagingDictImpl.java
+++ b/src/net/java/sip/communicator/impl/protocol/dict/OperationSetBasicInstantMessagingDictImpl.java
@@ -227,7 +227,7 @@ public class OperationSetBasicInstantMessagingDictImpl
{
if(contentType.equals(DEFAULT_MIME_TYPE))
return true;
- else if(contentType.equals("text/html"))
+ else if(contentType.equals(HTML_MIME_TYPE))
return true;
else
return false;
@@ -299,7 +299,7 @@ public class OperationSetBasicInstantMessagingDictImpl
{
fctResult = dictAdapter.define(database, word);
msg = this.createMessage(this.retrieveDefine(fctResult, word).getBytes()
- , "text/html"
+ , HTML_MIME_TYPE
, DEFAULT_MIME_ENCODING,
null);
}