mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-23 18:15:22 +00:00
Fix for non-group threading issue.
This commit is contained in:
parent
a305bb80e6
commit
b79bc4c234
@ -148,7 +148,6 @@ public class PushReceiver {
|
||||
boolean secure)
|
||||
{
|
||||
try {
|
||||
Log.w("PushReceiver", "Processing: " + new String(message.getBody()));
|
||||
PushMessageContent messageContent = PushMessageContent.parseFrom(message.getBody());
|
||||
|
||||
if (messageContent.hasGroup()) {
|
||||
@ -261,7 +260,9 @@ public class PushReceiver {
|
||||
boolean secure)
|
||||
{
|
||||
EncryptingSmsDatabase database = DatabaseFactory.getEncryptingSmsDatabase(context);
|
||||
IncomingTextMessage textMessage = new IncomingTextMessage(message, "", messageContent.getGroup());
|
||||
IncomingTextMessage textMessage = new IncomingTextMessage(message, "",
|
||||
messageContent.hasGroup() ?
|
||||
messageContent.getGroup() : null);
|
||||
|
||||
if (secure) {
|
||||
textMessage = new IncomingEncryptedMessage(textMessage, "");
|
||||
|
Loading…
Reference in New Issue
Block a user