1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-21 21:30:08 +00:00

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

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 @@ public function getPayload(Message $message, ?UserProfile $user = null)
$room = RoomCache::getInstance()->getRoom($item['roomID']);
$item['room'] = [
'roomID' => $room->roomID,
'title' => $room->title,
'title' => $room->getTitle(),
'link' => $room->getLink(),
];