Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion services/galley/src/Galley/API/MLS/Message.hs
Original file line number Diff line number Diff line change
Expand Up @@ -289,9 +289,9 @@ postMLSCommitBundleToRemoteConv ::
postMLSCommitBundleToRemoteConv loc qusr c con bundle ctype rConvOrSubId = do
-- only local users can send messages to remote conversations
lusr <- foldQualified loc pure (\_ -> throwS @'ConvAccessDenied) qusr
-- only members may send commit bundles to a remote conversation

unless (bundle.epoch == Epoch 0 && ctype == One2OneConv) $
-- only members may send commit bundles to a remote conversation
flip unless (throwS @'ConvMemberNotFound) =<< checkLocalMemberRemoteConv (tUnqualified lusr) ((.conv) <$> rConvOrSubId)

resp <-
Expand Down