mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-25 01:07:47 +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.pseudoSubject = "";
|
||||||
this.sentTimestampMillis = message.getTimestampMillis();
|
this.sentTimestampMillis = message.getTimestampMillis();
|
||||||
|
|
||||||
if (group.hasId()) {
|
if (group != null && group.hasId()) {
|
||||||
this.groupId = GroupUtil.getEncodedId(group.getId().toByteArray());
|
this.groupId = GroupUtil.getEncodedId(group.getId().toByteArray());
|
||||||
} else {
|
} else {
|
||||||
this.groupId = null;
|
this.groupId = null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user