Skip to content

Commit

Permalink
fix: Handle former one-to-one specifically so they render again
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen committed Aug 2, 2023
1 parent 968785c commit e58a0bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Notification/Notifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,8 @@ protected function parseChatMessage(INotification $notification, Room $room, Par
if ($room->getType() === Room::TYPE_ONE_TO_ONE || $room->getType() === Room::TYPE_ONE_TO_ONE_FORMER) {
if ($comment->getActorId() === $notification->getUser()) {
$subject = $l->t('Reminder: You in private conversation {call}');
} elseif ($room->getType() === Room::TYPE_ONE_TO_ONE_FORMER) {
$subject = $l->t('Reminder: A deleted user in private conversation {call}');
} else {
$subject = $l->t('Reminder: {user} in private conversation');
}
Expand Down

0 comments on commit e58a0bf

Please sign in to comment.