mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-24 16:57:50 +00:00
Fix for NPE
This commit is contained in:
parent
a0cbbd2d21
commit
1d4d9663db
@ -61,7 +61,7 @@ public class IncomingTextMessage implements Parcelable {
|
||||
this.pseudoSubject = "";
|
||||
this.sentTimestampMillis = message.getTimestampMillis();
|
||||
|
||||
if (group.hasId()) {
|
||||
if (group != null && group.hasId()) {
|
||||
this.groupId = GroupUtil.getEncodedId(group.getId().toByteArray());
|
||||
} else {
|
||||
this.groupId = null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user