Remove contact notifications when cancelling a contact request

This commit is contained in:
Max Brunsfeld 2023-10-13 15:37:08 -07:00
parent 39e3ddb080
commit 83fb8d20b7
10 changed files with 224 additions and 87 deletions

View file

@ -177,7 +177,8 @@ message Envelope {
NewNotification new_notification = 148;
GetNotifications get_notifications = 149;
GetNotificationsResponse get_notifications_response = 150; // Current max
GetNotificationsResponse get_notifications_response = 150;
DeleteNotification delete_notification = 151; // Current max
}
}
@ -1590,6 +1591,10 @@ message GetNotificationsResponse {
repeated Notification notifications = 1;
}
message DeleteNotification {
uint64 notification_id = 1;
}
message Notification {
uint64 id = 1;
uint64 timestamp = 2;