aboutsummaryrefslogtreecommitdiff
path: root/lib/app/chat.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/app/chat.ex')
-rw-r--r--lib/app/chat.ex2
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