Merge pull request 'add-opts-not-save-notification' (#2) from add-opts-not-save-notification into master
Reviewed-on: #2
This commit is contained in:
commit
b1a0b41a2b
1
model.go
1
model.go
|
@ -20,6 +20,7 @@ type PushRequest struct {
|
||||||
Link string `json:"link"` // for webpush
|
Link string `json:"link"` // for webpush
|
||||||
Order int `json:"order"` // for sort
|
Order int `json:"order"` // for sort
|
||||||
DisplayUntil int64 `json:"displayUntil"` // time.Unix
|
DisplayUntil int64 `json:"displayUntil"` // time.Unix
|
||||||
|
SaveNotification bool `json:"saveNotification"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Sound ...
|
// Sound ...
|
||||||
|
|
|
@ -9,7 +9,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
// version specify current version of client
|
// version specify current version of client
|
||||||
const version = "1.0.3"
|
const version = "1.0.4"
|
||||||
|
|
||||||
const (
|
const (
|
||||||
SendByTopic = "topic"
|
SendByTopic = "topic"
|
||||||
|
|
Loading…
Reference in New Issue