mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 17:29:32 +01:00
Add receive support for new call log event data.
This commit is contained in:
committed by
Cody Henthorne
parent
1ce1e30d32
commit
7a69df42a7
@@ -118,6 +118,14 @@ public abstract class GroupId implements DatabaseId {
|
||||
}
|
||||
}
|
||||
|
||||
public static GroupId.Push pushOrNull(byte[] bytes) {
|
||||
try {
|
||||
return GroupId.push(bytes);
|
||||
} catch (BadGroupIdException e) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static @NonNull GroupId parseOrThrow(@NonNull String encodedGroupId) {
|
||||
try {
|
||||
return parse(encodedGroupId);
|
||||
|
||||
Reference in New Issue
Block a user