diff options
author | Alex Auvolat <alex@adnab.me> | 2018-10-12 22:39:38 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2018-10-12 22:39:38 +0200 |
commit | 0ed802601812acd6ad764e6ffd5aacfd7e674553 (patch) | |
tree | 1b7fccb7fbf81a6822dd3313f00a940e441b90ed /shard/lib/cli | |
parent | eab3f9483b3659b1ad3572393d24652cac71c8b6 (diff) | |
download | shard-0ed802601812acd6ad764e6ffd5aacfd7e674553.tar.gz shard-0ed802601812acd6ad764e6ffd5aacfd7e674553.zip |
Connection management improvement, stuff
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 |