Start work on chat mentions
This commit is contained in:
@@ -178,7 +178,8 @@ message Envelope {
|
||||
NewNotification new_notification = 148;
|
||||
GetNotifications get_notifications = 149;
|
||||
GetNotificationsResponse get_notifications_response = 150;
|
||||
DeleteNotification delete_notification = 151; // Current max
|
||||
DeleteNotification delete_notification = 151;
|
||||
MarkNotificationsRead mark_notifications_read = 152; // Current max
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1595,6 +1596,10 @@ message DeleteNotification {
|
||||
uint64 notification_id = 1;
|
||||
}
|
||||
|
||||
message MarkNotificationsRead {
|
||||
repeated uint64 notification_ids = 1;
|
||||
}
|
||||
|
||||
message Notification {
|
||||
uint64 id = 1;
|
||||
uint64 timestamp = 2;
|
||||
|
||||
@@ -210,6 +210,7 @@ messages!(
|
||||
(LeaveProject, Foreground),
|
||||
(LeaveRoom, Foreground),
|
||||
(LinkChannel, Foreground),
|
||||
(MarkNotificationsRead, Foreground),
|
||||
(MoveChannel, Foreground),
|
||||
(NewNotification, Foreground),
|
||||
(OnTypeFormatting, Background),
|
||||
@@ -326,6 +327,7 @@ request_messages!(
|
||||
(LeaveChannelBuffer, Ack),
|
||||
(LeaveRoom, Ack),
|
||||
(LinkChannel, Ack),
|
||||
(MarkNotificationsRead, Ack),
|
||||
(MoveChannel, Ack),
|
||||
(OnTypeFormatting, OnTypeFormattingResponse),
|
||||
(OpenBufferById, OpenBufferResponse),
|
||||
|
||||
Reference in New Issue
Block a user