1
0
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:
Pierre HUBERT 2021-03-07 15:52:14 +01:00
parent e6906cccc3
commit e0d2022438

View File

@ -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(())