From 6a0a419f0c4e70177c6deae522c2215ab47dcabd Mon Sep 17 00:00:00 2001 From: Alan Evans Date: Mon, 25 Mar 2019 17:23:08 -0300 Subject: [PATCH] Add self to MMS group. - Fixes #7683 - Closes #8296 --- src/org/thoughtcrime/securesms/GroupCreateActivity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/org/thoughtcrime/securesms/GroupCreateActivity.java b/src/org/thoughtcrime/securesms/GroupCreateActivity.java index 44cd8aa280..8906185dc5 100644 --- a/src/org/thoughtcrime/securesms/GroupCreateActivity.java +++ b/src/org/thoughtcrime/securesms/GroupCreateActivity.java @@ -343,6 +343,7 @@ public class GroupCreateActivity extends PassphraseRequiredActionBarActivity for (Recipient recipient : members) { memberAddresses.add(recipient.getAddress()); } + memberAddresses.add(Address.fromSerialized(TextSecurePreferences.getLocalNumber(activity))); String groupId = DatabaseFactory.getGroupDatabase(activity).getOrCreateGroupForMembers(memberAddresses, true); Recipient groupRecipient = Recipient.from(activity, Address.fromSerialized(groupId), true);