diff options
Diffstat (limited to 'src/net/java/sip/communicator/impl/protocol/irc/OperationSetBasicInstantMessagingIrcImpl.java')
-rw-r--r-- | src/net/java/sip/communicator/impl/protocol/irc/OperationSetBasicInstantMessagingIrcImpl.java | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/net/java/sip/communicator/impl/protocol/irc/OperationSetBasicInstantMessagingIrcImpl.java b/src/net/java/sip/communicator/impl/protocol/irc/OperationSetBasicInstantMessagingIrcImpl.java index ca22ca9..9f33ca8 100644 --- a/src/net/java/sip/communicator/impl/protocol/irc/OperationSetBasicInstantMessagingIrcImpl.java +++ b/src/net/java/sip/communicator/impl/protocol/irc/OperationSetBasicInstantMessagingIrcImpl.java @@ -120,15 +120,14 @@ public class OperationSetBasicInstantMessagingIrcImpl continue; } - String transformedContent = - event.getSourceMessage().getContent(); + final Message transformed = event.getSourceMessage(); // Note: can't set subject since it leaks information while // message content actually did get encrypted. - // FIXME should get contentType and contentEncoding from - // transformed messages, just in case - MessageIrcImpl message = this.createMessage(transformedContent, - original.getContentType(), original.getEncoding(), ""); + MessageIrcImpl message = + this.createMessage(transformed.getContent(), + transformed.getContentType(), + transformed.getEncoding(), ""); try { |