mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-19 00:05:16 +00:00
Can delete all the notifications
This commit is contained in:
@ -102,4 +102,10 @@ class NotificationsHelper {
|
||||
},
|
||||
).exec())
|
||||
.isOK;
|
||||
|
||||
/// Delete all unread notifications
|
||||
Future<bool> deleteAllNotifications() async =>
|
||||
(await APIRequest(uri: "notifications/delete_all", needLogin: true)
|
||||
.exec())
|
||||
.isOK;
|
||||
}
|
||||
|
Reference in New Issue
Block a user