Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F112908
MatrixSdkMock.qml
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
805 B
Referenced Files
None
Subscribers
None
MatrixSdkMock.qml
View Options
/*
* 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
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 24, 2:48 AM (19 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39286
Default Alt Text
MatrixSdkMock.qml (805 B)
Attached To
Mode
rK kazv
Attached
Detach File
Event Timeline
Log In to Comment