mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-24 02:25:19 +00:00
Add null check. // FREEBIE
This commit is contained in:
parent
7d5e66eb6e
commit
33ecc4d690
@ -57,7 +57,7 @@ public class GroupReceiver {
|
||||
handleGroupUpdate(masterSecret, message, group, record);
|
||||
} else if (record == null && type == GroupContext.Type.UPDATE_VALUE) {
|
||||
handleGroupCreate(masterSecret, message, group);
|
||||
} else if (type == GroupContext.Type.QUIT_VALUE) {
|
||||
} else if (record != null && type == GroupContext.Type.QUIT_VALUE) {
|
||||
handleGroupLeave(masterSecret, message, group, record);
|
||||
} else if (type == GroupContext.Type.UNKNOWN_VALUE) {
|
||||
Log.w("GroupReceiver", "Received unknown type, ignoring...");
|
||||
|
Loading…
Reference in New Issue
Block a user