diff options
Diffstat (limited to 'shard/lib/cli')
-rw-r--r-- | shard/lib/cli/cli.ex | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shard/lib/cli/cli.ex b/shard/lib/cli/cli.ex index 45eeece..4f17aeb 100644 --- a/shard/lib/cli/cli.ex +++ b/shard/lib/cli/cli.ex @@ -13,7 +13,8 @@ defmodule SCLI do end pk = Shard.Keys.get_any_identity - run(%State{room_pid: nil, id_pid: nil, pk: pk}) + room_pid = Shard.Manager.find_or_start %SApp.Chat.Manifest{channel: "lobby"} + run(%State{room_pid: room_pid, id_pid: nil, pk: pk}) end defp run(state) do |