status-go/protocol/pushnotificationserver
Pascal Precht f3af6aa4dc feat: introduce `AddBookmark` and `RemoveBookmark` APIs to messenger
These APIs are being introduced to address #2706 and #2704, provided
that clients will move to using these APIs instead of the currently
provided equivalent APIs in the browser service.

The `bookmarks` table is being extended with a `deleted_at` field which
can later be used for garbage collection, as "removing" a bookmark is
merely soft deletion and doesn't actually remove the data from the
database.

In addition to those APIs adding and soft deleting bookmark entries,
they also automatically perform a sync operation to ensure that
bookmarks are synced in real-time (#2704).

Closes #2706, #2704
2022-06-17 12:29:03 +02:00
..
migrations feat: introduce `AddBookmark` and `RemoveBookmark` APIs to messenger 2022-06-17 12:29:03 +02:00
errors.go
gorush.go Add community notifications (#2160) 2021-03-31 18:23:45 +02:00
gorush_test.go Show correct text in case of mentions 2020-09-09 21:22:15 +02:00
persistence.go handle notifications at-most-once 2020-08-27 18:54:29 +02:00
persistence_test.go handle notifications at-most-once 2020-08-27 18:54:29 +02:00
server.go Rename MessageProcessor to MessageSender (#2264) 2021-06-23 17:13:48 +03:00
server_test.go Add tests for send notification & review feedback 2020-09-09 21:22:34 +02:00