]> Entropealabs - wampex.git/commitdiff
add welcome state
authorChristopher <chris@entropealabs.com>
Sun, 5 Apr 2020 01:40:09 +0000 (20:40 -0500)
committerChristopher <chris@entropealabs.com>
Sun, 5 Apr 2020 01:40:09 +0000 (20:40 -0500)
lib/roles/peer.ex

index dfeac2f93ea5bddfb6d1c6cabea913bb0bde7b0c..68a90fbdfd1424bc8f790d8d895c2c3b86de6b7c 100644 (file)
@@ -153,7 +153,7 @@ defmodule Wampex.Roles.Peer do
 
   @impl true
   def handle([@welcome, session_id, _dets]) do
-    {[{:next_event, :internal, :established}], nil, {:update, :id, session_id}}
+    {[{:next_event, :internal, :welcome}], nil, {:update, :id, session_id}}
   end
 
   @impl true