mirror of
https://github.com/christianselig/apollo-backend
synced 2024-12-22 22:35:27 +00:00
set dismissal for live activity in lock screen
This commit is contained in:
parent
6e668e538c
commit
a467b08878
1 changed files with 4 additions and 3 deletions
|
@ -277,9 +277,10 @@ func (lac *liveActivitiesConsumer) Consume(delivery rmq.Delivery) {
|
|||
|
||||
bb, _ := json.Marshal(map[string]interface{}{
|
||||
"aps": map[string]interface{}{
|
||||
"timestamp": time.Now().Unix(),
|
||||
"event": ev,
|
||||
"content-state": din,
|
||||
"content-state": din,
|
||||
"dismissal-date": la.ExpiresAt.Unix(),
|
||||
"event": ev,
|
||||
"timestamp": now.Unix(),
|
||||
},
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue