[SES-3319] - No promotion retry in the background (#948)

pull/1710/head
SessionHero01 3 months ago committed by GitHub
parent 79858a2336
commit 1be1278a6b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -547,10 +547,12 @@ class GroupManagerV2Impl @Inject constructor(
val promotionDeferred = members.associateWith { member ->
async {
MessageSender.sendAndAwait(
// The promotion message shouldn't be persisted to avoid being retried automatically
MessageSender.sendNonDurably(
message = promoteMessage,
address = Address.fromSerialized(member.hexString),
)
isSyncMessage = false,
).await()
}
}

Loading…
Cancel
Save