diff --git a/xmtp_mls/src/storage/encrypted_store/group_message.rs b/xmtp_mls/src/storage/encrypted_store/group_message.rs index a88077321..03dd21985 100644 --- a/xmtp_mls/src/storage/encrypted_store/group_message.rs +++ b/xmtp_mls/src/storage/encrypted_store/group_message.rs @@ -134,6 +134,8 @@ impl DbConnection { group_id: &[u8], args: &MsgQueryArgs, ) -> Result, StorageError> { + // Get all messages that have a group with an id equal the provided id, + // or a dm_id equal to the dm_id that belongs to the loaded group with the provided id. let mut query = dsl::group_messages .filter( dsl::group_id.eq_any(