mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2024-11-22 13:29:21 +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(())
|
||||
|
Loading…
Reference in New Issue
Block a user