This commit is contained in:
Niels Andriesse 2021-06-11 11:27:15 +10:00
parent b9a18a50b3
commit f4ae16239e
2 changed files with 1 additions and 2 deletions

View File

@ -133,7 +133,6 @@ fun MessageSender.addMembers(groupPublicKey: String, membersToAdd: List<String>)
Log.d("Loki", "Can't add members to nonexistent closed group.")
throw Error.NoThread
}
// Get expiration timer value for the group
val recipient = Recipient.from(context, fromSerialized(groupID), false)
val expireTimer = recipient.expireMessages
if (membersToAdd.isEmpty()) {