mirror of
https://github.com/status-im/status-go.git
synced 2025-01-09 06:12:55 +00:00
c55659b4f6
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
11 lines
328 B
Go
11 lines
328 B
Go
package localnotifications
|
|
|
|
const (
|
|
CategoryTransaction PushCategory = "transaction"
|
|
CategoryMessage PushCategory = "newMessage"
|
|
CategoryCommunityRequestToJoin = "communityRequestToJoin"
|
|
|
|
TypeTransaction NotificationType = "transaction"
|
|
TypeMessage NotificationType = "message"
|
|
)
|