Andrea Maria Piana
c55659b4f6
Add community notifications ( #2160 )
...
This commit introduces the following changes:
- `local-notifications` require as body an interface complying with
`json.Marshaler`
- removed unmarshaling of `Notifications` as not used (we only Marshal
notifications)
- `protocol/messenger.go` creates directly a `Notification` instead of
having an intermediate format
- add community notifications on request to join
- move parsing of text in status-go for notifications
2021-03-31 18:23:45 +02:00
Samuel Hawksby-Robinson
48a34072bb
Added ChatIdentity attachment to ContactCodeAdvert
2020-12-17 14:10:00 +01:00
Andrea Maria Piana
3c6b741f71
Add tests for send notification & review feedback
2020-09-09 21:22:34 +02:00
Andrea Maria Piana
00c5b60d7f
Move message to common namespace
2020-09-09 21:22:12 +02:00
Andrea Maria Piana
d7222c89e0
shuffle servers and limit & filter by chat id
2020-08-27 18:54:28 +02:00
Andrea Maria Piana
4cf491ae38
add push notification type
2020-08-18 16:29:58 +02:00
Andrea Maria Piana
91074ac95e
Add apn-topic & token-type set by the client
2020-08-18 16:29:31 +02:00
Andrea Maria Piana
4b8739a8bc
Polish up and address review feedback
2020-07-27 08:51:28 +02:00
Andrea Maria Piana
58817aad5b
Use separate flag for allowonlyfromcontacst
2020-07-27 08:51:20 +02:00
Andrea Maria Piana
12a3c5a31a
Add version to notification info
2020-07-27 08:51:18 +02:00
Andrea Maria Piana
3f4575b802
Add grant validation
2020-07-27 08:51:07 +02:00
Andrea Maria Piana
20fb8607cb
keep track of queries & actually send pns, hurray
2020-07-27 08:51:05 +02:00
Andrea Maria Piana
7e16f940de
Handle query response
2020-07-27 08:51:03 +02:00
Andrea Maria Piana
15a3b710a0
Add parsing of messages
2020-07-27 08:50:58 +02:00
Andrea Maria Piana
927f762589
Send gorush notifications
2020-07-27 08:50:57 +02:00
Andrea Maria Piana
52da9de0c6
Handle query from client
2020-07-27 08:50:56 +02:00
Andrea Maria Piana
a15919527b
implement handle push notification registration
2020-07-27 08:50:54 +02:00
Andrea Maria Piana
c5077609ee
remove push notification preferences
2020-07-27 08:50:50 +02:00
Andrea Maria Piana
e19c799be2
Remove PushNotificationRegister as we can use ApplicationMessage as a wrapper
2020-07-27 08:50:48 +02:00
Andrea Maria Piana
92b699b59d
Add push notification register message
2020-07-27 08:50:47 +02:00