Add client to new room object
This commit is contained in:
parent
fea52b777f
commit
5c015608c0
|
@ -144,7 +144,7 @@ class User {
|
||||||
|
|
||||||
final String newRoomID = resp["room_id"];
|
final String newRoomID = resp["room_id"];
|
||||||
|
|
||||||
await Room(id: newRoomID).addToDirectChat(id);
|
await Room(id: newRoomID, client: room.client).addToDirectChat(id);
|
||||||
|
|
||||||
return newRoomID;
|
return newRoomID;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue