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:
parent
32bfb7a24a
commit
03005a86c3
@ -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(),
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user