From 624de792f027a64ff1adc0ca0d1fd5312c42c836 Mon Sep 17 00:00:00 2001 From: cameronvoell Date: Fri, 13 Dec 2024 16:36:38 -0800 Subject: [PATCH] do not allow overriding an intent that is already published --- xmtp_mls/src/storage/encrypted_store/group_intent.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/xmtp_mls/src/storage/encrypted_store/group_intent.rs b/xmtp_mls/src/storage/encrypted_store/group_intent.rs index b8d33102c..deb38fe4a 100644 --- a/xmtp_mls/src/storage/encrypted_store/group_intent.rs +++ b/xmtp_mls/src/storage/encrypted_store/group_intent.rs @@ -206,7 +206,6 @@ impl DbConnection { .filter( dsl::state .eq(IntentState::ToPublish) - .or(dsl::state.eq(IntentState::Published)), ) .set(( dsl::state.eq(IntentState::Published),