fix: expire stale call pushes
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user