Page MenuHomePhorge

MatrixSdkMock.qml
No OneTemporary

Size
805 B
Referenced Files
None
Subscribers
None

MatrixSdkMock.qml

/*
* This file is part of kazv.
* SPDX-FileCopyrightText: 2023 tusooa <tusooa@kazv.moe>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import QtQuick 2.15
QtObject {
property var userId: ''
property var serverUrl: 'https://example.com'
property var token: 'token'
property var updateStickerPack: mockHelper.promise()
property var createRoom: mockHelper.promise([
'isPrivate',
'name',
'alias',
'invites',
'isDirect',
'allowFederate',
'topic',
'powerLevelContentOverride',
'preset',
'encrypted',
])
property var joinRoom: mockHelper.promise()
property var sendAccountData: mockHelper.promise()
function mxcUriToHttp (uri) {
console.log('mxcUriToHttp');
return uri || '';
}
function devicesOfUser (userId) {
return [];
}
}

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 24, 2:48 AM (22 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39286
Default Alt Text
MatrixSdkMock.qml (805 B)

Event Timeline