moment/src/gui/Base/HRoomAvatar.qml

16 lines
302 B
QML

// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
HAvatar {
property string roomId
property string displayName
name: displayName[0] === "#" && displayName.length > 1 ?
displayName.substring(1) :
displayName
title: "room_" + roomId + ".avatar"
}