fix: expire stale call pushes

This commit is contained in:
richjohnrambo
2026-09-14 12:11:43 +08:00
parent 4854e090ef
commit 789e662bdb
8 changed files with 164 additions and 14 deletions
+2
View File
@@ -70,6 +70,8 @@ type Payload struct {
Topic string `json:"topic"`
// Timestamp of the action.
Timestamp time.Time `json:"ts"`
// Expiration time for short-lived payloads such as call invites.
ExpiresAt *time.Time `json:"expires_at,omitempty"`
// {data} notification.