set dismissal for live activity in lock screen

This commit is contained in:
Andre Medeiros 2022-10-31 13:35:01 -04:00
parent 6e668e538c
commit a467b08878

View file

@ -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,
"dismissal-date": la.ExpiresAt.Unix(),
"event": ev,
"timestamp": now.Unix(),
},
})