kopia lustrzana https://github.com/ryukoposting/Signal-Android
rodzic
032eaa4389
commit
5173921ce0
|
@ -23,7 +23,7 @@ public class GroupUtil {
|
||||||
private static final String TAG = GroupUtil.class.getSimpleName();
|
private static final String TAG = GroupUtil.class.getSimpleName();
|
||||||
|
|
||||||
public static String getEncodedId(byte[] groupId, boolean mms) {
|
public static String getEncodedId(byte[] groupId, boolean mms) {
|
||||||
return mms ? ENCODED_MMS_GROUP_PREFIX : ENCODED_SIGNAL_GROUP_PREFIX + Hex.toStringCondensed(groupId);
|
return (mms ? ENCODED_MMS_GROUP_PREFIX : ENCODED_SIGNAL_GROUP_PREFIX) + Hex.toStringCondensed(groupId);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static byte[] getDecodedId(String groupId) throws IOException {
|
public static byte[] getDecodedId(String groupId) throws IOException {
|
||||||
|
|
Ładowanie…
Reference in New Issue