Page MenuHomePhorge

RoomNameProvider.qml
No OneTemporary

Size
518 B
Referenced Files
None
Subscribers
None

RoomNameProvider.qml

/*
* This file is part of kazv.
* SPDX-FileCopyrightText: 2024 tusooa <tusooa@kazv.moe>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import QtQuick 2.15
import QtQuick.Layouts 1.15
import QtQuick.Controls 2.15
import 'matrix-helpers.js' as Helpers
QtObject {
property var room
property var name: getName(room)
function getName(r) {
if (!r) {
return '';
}
return Helpers.roomNameOrHeroes(
r,
r.heroEvents,
sdkVars.userGivenNicknameMap.map,
l10n,
);
}
}

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 26, 11:05 AM (1 d, 12 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40274
Default Alt Text
RoomNameProvider.qml (518 B)

Event Timeline