File indexing completed on 2024-12-01 04:37:01
0001 /* 0002 SPDX-FileCopyrightText: 2020-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "libruqolawidgets_private_export.h" 0010 #include "room.h" 0011 #include <QString> 0012 namespace RoomUtil 0013 { 0014 [[nodiscard]] LIBRUQOLAWIDGETS_TESTS_EXPORT QString generateUserLink(const QString &userName); 0015 [[nodiscard]] LIBRUQOLAWIDGETS_TESTS_EXPORT QString generatePermalink(const QString &messageId, const QString &roomId, Room::RoomType channelType); 0016 [[nodiscard]] LIBRUQOLAWIDGETS_TESTS_EXPORT bool validUser(const QString &userName); 0017 }