diff --git a/android/src/main/java/expo/modules/xmtpreactnativesdk/XMTPModule.kt b/android/src/main/java/expo/modules/xmtpreactnativesdk/XMTPModule.kt index 3c871433e..ca62d2776 100644 --- a/android/src/main/java/expo/modules/xmtpreactnativesdk/XMTPModule.kt +++ b/android/src/main/java/expo/modules/xmtpreactnativesdk/XMTPModule.kt @@ -713,6 +713,7 @@ class XMTPModule : Module() { "No message found for $messageId" ) + unpublishedLocalMessages.remove(messageId) unpublishedMessage.publish() } }