fix: add admins and members as member list instead of just members

This commit is contained in:
0x330a 2023-07-11 15:32:57 +10:00
parent 77e948feec
commit bd8368f2fa
1 changed files with 1 additions and 1 deletions

View File

@ -580,7 +580,7 @@ open class Storage(context: Context, helper: SQLCipherOpenHelper, private val co
val groupId = GroupUtil.doubleEncodeGroupID(group.sessionId)
val title = group.name
val formationTimestamp = (group.joinedAt * 1000L)
createGroup(groupId, title, members, null, null, admins, formationTimestamp)
createGroup(groupId, title, admins + members, null, null, admins, formationTimestamp)
setProfileSharing(Address.fromSerialized(groupId), true)
// Add the group to the user's set of public keys to poll for
addClosedGroupPublicKey(group.sessionId)