mirror of
https://github.com/oxen-io/session-android.git
synced 2025-01-12 00:53:39 +00:00
parent
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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user