diff options
author | Alex Auvolat <alex@adnab.me> | 2018-08-27 13:04:51 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2018-08-27 13:04:51 +0200 |
commit | 6cc81b55f2466cd7526f47da6980e3eb47041457 (patch) | |
tree | bb0d7a917ec31443ca5763f9d1386f94e86d8c89 /lib/app/chat.ex | |
parent | c1dad415d42d0991f3c549c159d85b6146fb0768 (diff) | |
download | shard-6cc81b55f2466cd7526f47da6980e3eb47041457.tar.gz shard-6cc81b55f2466cd7526f47da6980e3eb47041457.zip |
Disable web interface
Diffstat (limited to 'lib/app/chat.ex')
-rw-r--r-- | lib/app/chat.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/app/chat.ex b/lib/app/chat.ex index b93e7b3..42991ce 100644 --- a/lib/app/chat.ex +++ b/lib/app/chat.ex @@ -132,7 +132,7 @@ defmodule SApp.Chat do def handle_cast({:deferred_insert, list}, state) do new_store = ML.insert_many(state.store, list, (fn msg -> msg_callback(state.channel, msg) end)) - %{state | store: new_store} + {:noreply, %{state | store: new_store}} end defp push_messages(state, to, start, num) do |