diff options
author | Danny van Heumen <danny@dannyvanheumen.nl> | 2014-09-28 14:40:01 +0200 |
---|---|---|
committer | Danny van Heumen <danny@dannyvanheumen.nl> | 2014-09-30 20:29:05 +0200 |
commit | aa29a5c4575f69e567429167e5acaf614c53abd9 (patch) | |
tree | 117f8668a26c7095f3deca17184532d18dda5ad3 /src/net/java/sip/communicator/plugin/otr | |
parent | 2254995ee3f90ee9042be6d1e2f0504db74841ad (diff) | |
download | jitsi-aa29a5c4575f69e567429167e5acaf614c53abd9.zip jitsi-aa29a5c4575f69e567429167e5acaf614c53abd9.tar.gz jitsi-aa29a5c4575f69e567429167e5acaf614c53abd9.tar.bz2 |
Renamed methods of BasicInstantMessagingTransport.
Diffstat (limited to 'src/net/java/sip/communicator/plugin/otr')
-rw-r--r-- | src/net/java/sip/communicator/plugin/otr/ScOtrEngineImpl.java | 5 |
1 files changed, 3 insertions, 2 deletions
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)
{
|