Fix localization of room title in WhereMessageType

This commit is contained in:
Tim Düsterhus 2024-01-13 19:49:46 +01:00
parent 32bfb7a24a
commit 03005a86c3
Signed by: TimWolla
GPG Key ID: 8FF75566094168AF
1 changed files with 3 additions and 3 deletions

View File

@ -1,12 +1,12 @@
<?php
/*
* Copyright (c) 2010-2022 Tim Düsterhus.
* Copyright (c) 2010-2024 Tim Düsterhus.
*
* Use of this software is governed by the Business Source License
* included in the LICENSE file.
*
* Change Date: 2027-02-22
* Change Date: 2028-01-13
*
* On the date above, in accordance with the Business Source
* License, use of this software will be governed by version 2
@ -50,7 +50,7 @@ final class WhereMessageType implements IMessageType
$room = RoomCache::getInstance()->getRoom($item['roomID']);
$item['room'] = [
'roomID' => $room->roomID,
'title' => $room->title,
'title' => $room->getTitle(),
'link' => $room->getLink(),
];