status-go/protocol/pushnotificationserver
Pascal Precht dd49e604d4 feat: introduce new `joined` property in `Chat` struct
This property is useful for clients to know when a channel or chat
was joined so they can use that to calculate the order of channels
and chats shown in applications.

Changes include a new joined property on the Chat struct,
as well as adjustments in the persistence layer to retreive and
update chat data in the database.

In addition there's a migration script that alters the existing
chat table to introduce a new column for the joined field.
It also updates all existing rows in the database to set `joined`
to `0`.
2021-05-18 11:29:03 +02:00
..
migrations feat: introduce new `joined` property in `Chat` struct 2021-05-18 11:29:03 +02:00
errors.go Polish up and address review feedback 2020-07-27 08:51:28 +02:00
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 Add community notifications (#2160) 2021-03-31 18:23:45 +02:00
server_test.go Add tests for send notification & review feedback 2020-09-09 21:22:34 +02:00