Merge branch 'master' into soru/modularize-e2ee
This commit is contained in:
commit
c47bdee9f5
|
@ -1295,7 +1295,7 @@ class MatrixApi {
|
||||||
String statusMsg,
|
String statusMsg,
|
||||||
}) async {
|
}) async {
|
||||||
await request(
|
await request(
|
||||||
RequestType.POST,
|
RequestType.PUT,
|
||||||
'/client/r0/presence/${Uri.encodeComponent(userId)}/status',
|
'/client/r0/presence/${Uri.encodeComponent(userId)}/status',
|
||||||
data: {
|
data: {
|
||||||
'presence': presenceType.toString().split('.').last,
|
'presence': presenceType.toString().split('.').last,
|
||||||
|
|
|
@ -1510,8 +1510,6 @@ class FakeMatrixApi extends MockClient {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'/client/r0/presence/${Uri.encodeComponent('@alice:example.com')}/status':
|
|
||||||
(var req) => {},
|
|
||||||
'/client/r0/account/deactivate': (var req) =>
|
'/client/r0/account/deactivate': (var req) =>
|
||||||
{'id_server_unbind_result': 'success'},
|
{'id_server_unbind_result': 'success'},
|
||||||
'/client/r0/user_directory/search': (var req) => {
|
'/client/r0/user_directory/search': (var req) => {
|
||||||
|
@ -1743,6 +1741,8 @@ class FakeMatrixApi extends MockClient {
|
||||||
'/client/r0/rooms/!localpart%3Aserver.abc/invite': (var reqI) => {},
|
'/client/r0/rooms/!localpart%3Aserver.abc/invite': (var reqI) => {},
|
||||||
},
|
},
|
||||||
'PUT': {
|
'PUT': {
|
||||||
|
'/client/r0/presence/${Uri.encodeComponent('@alice:example.com')}/status':
|
||||||
|
(var req) => {},
|
||||||
'/client/r0/pushrules/global/content/nocake/enabled': (var req) => {},
|
'/client/r0/pushrules/global/content/nocake/enabled': (var req) => {},
|
||||||
'/client/r0/pushrules/global/content/nocake/actions': (var req) => {},
|
'/client/r0/pushrules/global/content/nocake/actions': (var req) => {},
|
||||||
'/client/r0/rooms/%21localpart%3Aserver.abc/state/m.room.history_visibility':
|
'/client/r0/rooms/%21localpart%3Aserver.abc/state/m.room.history_visibility':
|
||||||
|
|
Loading…
Reference in a new issue