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

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;
}