mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2024-11-26 07:19:22 +00:00
Send message when a user create a conversation
This commit is contained in:
parent
e6906cccc3
commit
e0d2022438
@ -69,6 +69,10 @@ pub fn add_member(conv_id: ConvID, user_id: &UserID, following: bool, admin: boo
|
|||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
)?;
|
)?;
|
||||||
|
} else {
|
||||||
|
send_message(&NewConversationMessage::new_server_message(
|
||||||
|
conv_id, ConversationServerMessageType::UserCreatedConversation(user_id.clone()),
|
||||||
|
))?;
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
|
Loading…
Reference in New Issue
Block a user