Mark contact acceptance notifications as read automatically
This commit is contained in:
parent
fce09e8c92
commit
4a0358a513
6 changed files with 99 additions and 7 deletions
|
@ -180,7 +180,7 @@ message Envelope {
|
|||
GetNotifications get_notifications = 150;
|
||||
GetNotificationsResponse get_notifications_response = 151;
|
||||
DeleteNotification delete_notification = 152;
|
||||
MarkNotificationsRead mark_notifications_read = 153; // Current max
|
||||
MarkNotificationRead mark_notification_read = 153; // Current max
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1622,8 +1622,8 @@ message DeleteNotification {
|
|||
uint64 notification_id = 1;
|
||||
}
|
||||
|
||||
message MarkNotificationsRead {
|
||||
repeated uint64 notification_ids = 1;
|
||||
message MarkNotificationRead {
|
||||
uint64 notification_id = 1;
|
||||
}
|
||||
|
||||
message Notification {
|
||||
|
|
|
@ -211,7 +211,7 @@ messages!(
|
|||
(LeaveProject, Foreground),
|
||||
(LeaveRoom, Foreground),
|
||||
(LinkChannel, Foreground),
|
||||
(MarkNotificationsRead, Foreground),
|
||||
(MarkNotificationRead, Foreground),
|
||||
(MoveChannel, Foreground),
|
||||
(OnTypeFormatting, Background),
|
||||
(OnTypeFormattingResponse, Background),
|
||||
|
@ -328,7 +328,7 @@ request_messages!(
|
|||
(LeaveChannelBuffer, Ack),
|
||||
(LeaveRoom, Ack),
|
||||
(LinkChannel, Ack),
|
||||
(MarkNotificationsRead, Ack),
|
||||
(MarkNotificationRead, Ack),
|
||||
(MoveChannel, Ack),
|
||||
(OnTypeFormatting, OnTypeFormattingResponse),
|
||||
(OpenBufferById, OpenBufferResponse),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue