Add self to MMS groups when migrating

Fixes #6925
// FREEBIE
This commit is contained in:
Moxie Marlinspike 2017-09-06 16:08:03 -07:00
parent 967c374213
commit bcff186b10

View File

@ -1228,6 +1228,8 @@ public class DatabaseFactory {
members.add(DelimiterUtil.escape(DelimiterUtil.unescape(address, ' '), ','));
}
members.add(DelimiterUtil.escape(TextSecurePreferences.getLocalNumber(context), ','));
String encodedGroupId = "__signal_mms_group__!" + Hex.toStringCondensed(groupId);
ContentValues groupValues = new ContentValues();
ContentValues threadValues = new ContentValues();