Merge branch 'krille/fix-direct-chats' into 'master'
Fix direct chats See merge request famedly/famedlysdk!360
This commit is contained in:
commit
ad67a5abdb
|
@ -935,9 +935,8 @@ class Room {
|
|||
directChats[userID] = [id];
|
||||
}
|
||||
|
||||
await client.api.setRoomAccountData(
|
||||
await client.api.setAccountData(
|
||||
client.userID,
|
||||
id,
|
||||
'm.direct',
|
||||
directChats,
|
||||
);
|
||||
|
|
|
@ -1827,9 +1827,7 @@ class FakeMatrixApi extends MockClient {
|
|||
(var reqI) => {
|
||||
'event_id': '42',
|
||||
},
|
||||
'/client/r0/user/%40test%3AfakeServer.notExisting/rooms/%211234%3AfakeServer.notExisting/account_data/m.direct':
|
||||
(var reqI) => {},
|
||||
'/client/r0/user/%40test%3AfakeServer.notExisting/rooms/%21localpart%3Aserver.abc/account_data/m.direct':
|
||||
'/client/r0/user/%40test%3AfakeServer.notExisting/account_data/m.direct':
|
||||
(var reqI) => {},
|
||||
'/client/r0/directory/list/room/!localpart%3Aexample.com': (var req) =>
|
||||
{},
|
||||
|
|
Loading…
Reference in a new issue