Create notifications for mentioned users
Co-authored-by: Piotr <piotr@zed.dev>
This commit is contained in:
parent
5257fb8533
commit
d62f114c02
6 changed files with 212 additions and 84 deletions
|
@ -386,6 +386,13 @@ impl Contact {
|
|||
|
||||
pub type NotificationBatch = Vec<(UserId, proto::Notification)>;
|
||||
|
||||
pub struct CreatedChannelMessage {
|
||||
pub message_id: MessageId,
|
||||
pub participant_connection_ids: Vec<ConnectionId>,
|
||||
pub channel_members: Vec<UserId>,
|
||||
pub notifications: NotificationBatch,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, Eq, FromQueryResult, Serialize, Deserialize)]
|
||||
pub struct Invite {
|
||||
pub email_address: String,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue