mirror of
https://github.com/oxen-io/session-android.git
synced 2025-02-19 21:08:26 +00:00
Fix mms group migration for those who haven't encountered it yet
Fixes #7091 // FREEBIE
This commit is contained in:
parent
0bcf46bacd
commit
263846bba0
@ -56,6 +56,7 @@ import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.security.SecureRandom;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.HashSet;
|
||||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
@ -1241,6 +1242,8 @@ public class DatabaseFactory {
|
||||
|
||||
members.add(DelimiterUtil.escape(TextSecurePreferences.getLocalNumber(context), ','));
|
||||
|
||||
Collections.sort(members);
|
||||
|
||||
String encodedGroupId = "__signal_mms_group__!" + Hex.toStringCondensed(groupId);
|
||||
ContentValues groupValues = new ContentValues();
|
||||
ContentValues threadValues = new ContentValues();
|
||||
|
Loading…
x
Reference in New Issue
Block a user