Skip to content

Commit

Permalink
Fix for NPE
Browse files Browse the repository at this point in the history
  • Loading branch information
moxie0 committed Feb 20, 2014
1 parent a0cbbd2 commit 1d4d966
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public IncomingTextMessage(IncomingPushMessage message, String encodedBody, Grou
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;
Expand Down

1 comment on commit 1d4d966

@WhisperBTC
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! BitHub has sent payment of $13.28USD for this commit.

Please sign in to comment.