Merge branch 'bugfix/unshared-inbox-check' into 'develop'
[akkoma] / lib / mix / tasks / relay_unfollow.ex
index 81b7197b2577125ab4a3c6ed570a05bd2fcb19cd..4621ace83944a6ee56b94889a524a6f52b7e0f30 100644 (file)
@@ -8,5 +8,8 @@ defmodule Mix.Tasks.RelayUnfollow do
     Mix.Task.run("app.start")
 
     :ok = Relay.unfollow(target)
+
+    # put this task to sleep to allow the genserver to push out the messages
+    :timer.sleep(500)
   end
 end