mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-11 10:44:21 +00:00
55699e27bc
Send support is in here too. We'll enable it in a future release after enough people have updated.
12 lines
325 B
Java
12 lines
325 B
Java
package org.thoughtcrime.securesms.util;
|
|
|
|
public class MmsCharacterCalculator extends CharacterCalculator {
|
|
|
|
private static final int MAX_SIZE = 5000;
|
|
|
|
@Override
|
|
public CharacterState calculateCharacters(String messageBody) {
|
|
return new CharacterState(1, MAX_SIZE - messageBody.length(), MAX_SIZE, MAX_SIZE);
|
|
}
|
|
}
|