mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2024-11-22 13:29:21 +00:00
Add missing check
This commit is contained in:
parent
d9ac134da0
commit
158b2caf98
@ -31,7 +31,7 @@ pub fn create(conv: &NewConversation) -> Res<ConvID> {
|
||||
.ok_or(ExecError::new("missing result conv id!"))?;
|
||||
|
||||
// Add the creator of the conversation
|
||||
add_member(conv_id, &conv.owner_id, conv.owner_following, true, &conv.owner_id);
|
||||
add_member(conv_id, &conv.owner_id, conv.owner_following, true, &conv.owner_id)?;
|
||||
|
||||
// Add other members to the conversation
|
||||
for member in &conv.members {
|
||||
|
Loading…
Reference in New Issue
Block a user