From aa29a5c4575f69e567429167e5acaf614c53abd9 Mon Sep 17 00:00:00 2001 From: Danny van Heumen Date: Sun, 28 Sep 2014 14:40:01 +0200 Subject: Renamed methods of BasicInstantMessagingTransport. --- src/net/java/sip/communicator/plugin/otr/ScOtrEngineImpl.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/net/java/sip/communicator/plugin/otr') diff --git a/src/net/java/sip/communicator/plugin/otr/ScOtrEngineImpl.java b/src/net/java/sip/communicator/plugin/otr/ScOtrEngineImpl.java index b7e184a..88668e3 100644 --- a/src/net/java/sip/communicator/plugin/otr/ScOtrEngineImpl.java +++ b/src/net/java/sip/communicator/plugin/otr/ScOtrEngineImpl.java @@ -30,6 +30,7 @@ import org.osgi.framework.*; * @author Lyubomir Marinov * @author Pawel Domas * @author Marin Dzhigarov + * @author Danny van Heumen */ public class ScOtrEngineImpl implements ScOtrEngine, @@ -445,14 +446,14 @@ public class ScOtrEngineImpl } return null; } - int messageSize = transport.maximumMessageSize(otrContact.contact); + int messageSize = transport.getMaxMessageSize(otrContact.contact); if (messageSize == OperationSetBasicInstantMessagingTransport.UNLIMITED) { messageSize = FragmenterInstructions.UNLIMITED; } int numberOfMessages = - transport.numberOfMessages(otrContact.contact); + transport.getMaxNumberOfMessages(otrContact.contact); if (numberOfMessages == OperationSetBasicInstantMessagingTransport.UNLIMITED) { -- cgit v1.1