diff options
author | Joas Schilling <coding@schilljs.com> | 2021-11-16 11:17:15 +0300 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2021-11-16 11:55:57 +0300 |
commit | 947c92e48515b6b9181f178cd0be2e604cbcc172 (patch) | |
tree | c33a84875f950bf4ee86057b750ba3aa79952dbe /lib/Activity | |
parent | 7c2fb24fd944ae569d708c6c07a73b09b1b6d9f2 (diff) |
Always print a message for now
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Activity')
-rw-r--r-- | lib/Activity/Listener.php | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/lib/Activity/Listener.php b/lib/Activity/Listener.php index d38bda37d..5228befde 100644 --- a/lib/Activity/Listener.php +++ b/lib/Activity/Listener.php @@ -133,15 +133,10 @@ class Listener { $numGuests = $this->participantService->getGuestCount($room, $activeSince); $message = 'call_ended'; - if ((\count($userIds) + $numGuests) === 1) { - if ($room->getType() !== Room::TYPE_ONE_TO_ONE) { - // Single user pinged or guests only => no summary/activity - $room->resetActiveSince(); - return false; - } - $message = 'call_missed'; - } elseif ($endForEveryone) { + if ($endForEveryone) { $message = 'call_ended_everyone'; + } elseif ($room->getType() === Room::TYPE_ONE_TO_ONE) { + $message = 'call_missed'; } if (!$room->resetActiveSince()) { |