diff options
Diffstat (limited to 'matrix-specification/Events/PresenceEvent.php')
| -rw-r--r-- | matrix-specification/Events/PresenceEvent.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/matrix-specification/Events/PresenceEvent.php b/matrix-specification/Events/PresenceEvent.php index c8c2023..7854444 100644 --- a/matrix-specification/Events/PresenceEvent.php +++ b/matrix-specification/Events/PresenceEvent.php @@ -25,7 +25,7 @@ class PresenceEvent extends SenderEvent "last_active_ago" => $lastActiveAgo, "presence" => $presence, "status_msg" => $statusMessage, - ], "is_null"), + ], fn ($value) => ! is_null($value)), $sender, EventType::PRESENCE ); |
