mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-11 18:54:21 +00:00
12 lines
311 B
Java
12 lines
311 B
Java
|
package org.thoughtcrime.securesms.util;
|
||
|
|
||
|
public class MmsCharacterCalculator extends CharacterCalculator {
|
||
|
|
||
|
private static final int MAX_SIZE = 5000;
|
||
|
|
||
|
@Override
|
||
|
public CharacterState calculateCharacters(int charactersSpent) {
|
||
|
return new CharacterState(1, MAX_SIZE - charactersSpent, MAX_SIZE);
|
||
|
}
|
||
|
}
|