diff --git a/library/src/main/java/org/xmtp/android/library/Contacts.kt b/library/src/main/java/org/xmtp/android/library/Contacts.kt index 801fea64d..dfe00e215 100644 --- a/library/src/main/java/org/xmtp/android/library/Contacts.kt +++ b/library/src/main/java/org/xmtp/android/library/Contacts.kt @@ -222,7 +222,7 @@ class ConsentList( } suspend fun setV3ConsentState(entries: List) { - entries.forEach { + entries.iterator().forEach { client.v3Client?.setConsentState( ConsentState.toFfiConsentState(it.consentType), EntryType.toFfiConsentEntityType(it.entryType),