Update lib/src/User.dart

This commit is contained in:
Christian 2019-06-12 08:02:07 +00:00
parent 60cf1ac7fe
commit 54feb4b6a9

View file

@ -136,6 +136,13 @@ class User {
"preset": "trusted_private_chat"
});
if (resp is ErrorResponse) return null;
// TODO: Update m.direct data
/*room.client.connection.jsonRequest(type: "PUT", action: "/client/r0/user/${room.client.userID}/account_data/m.direct", data: {
});*/
return resp["room_id"];
}