Add client to new room object

This commit is contained in:
Christian Pauly 2019-06-12 13:58:40 +02:00
parent fea52b777f
commit 5c015608c0
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ class User {
final String newRoomID = resp["room_id"];
await Room(id: newRoomID).addToDirectChat(id);
await Room(id: newRoomID, client: room.client).addToDirectChat(id);
return newRoomID;
}