From edf64977f20e3f185c90a4759d358c5320410548 Mon Sep 17 00:00:00 2001 From: Nicolas Perriault Date: Wed, 3 May 2017 09:19:36 +0200 Subject: [PATCH] Fix #124: Reload page after successful OAuth registration. --- src/Model.elm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Model.elm b/src/Model.elm index e57a00a..b3b8c26 100644 --- a/src/Model.elm +++ b/src/Model.elm @@ -472,8 +472,9 @@ processMastodonEvent msg model = in { model | client = Just client } ! [ Command.loadTimelines <| Just client - , Navigation.modifyUrl model.location.pathname , Command.saveClient client + , Navigation.modifyUrl model.location.pathname + , Navigation.reload ] Err error ->