diff options
author | Joas Schilling <coding@schilljs.com> | 2019-07-17 17:45:57 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2019-07-17 17:45:57 +0300 |
commit | a0d5a835a95e66a426887f5dc8c5ca3c27a83b3f (patch) | |
tree | 6b36c77e422b9486ac3e0916c5247e4ae689c01b /lib/Activity | |
parent | 9702156de88aeb2817e7664ee7d66e545ec0eccf (diff) |
Add a new column to record who joined a call
This makes sure users that only joined the chat are not listed in the call summary
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Activity')
-rw-r--r-- | lib/Activity/Listener.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Activity/Listener.php b/lib/Activity/Listener.php index dadd5f625..32deaef52 100644 --- a/lib/Activity/Listener.php +++ b/lib/Activity/Listener.php @@ -112,7 +112,7 @@ class Listener { } $duration = $this->timeFactory->getTime() - $activeSince->getTimestamp(); - $userIds = $room->getParticipantUserIds($activeSince->getTimestamp()); + $userIds = $room->getParticipantUserIds($activeSince); if (empty($userIds) || (\count($userIds) === 1 && $room->getActiveGuests() === 0)) { // Single user pinged or guests only => no activity |