diff --git a/src/status_im/mailserver/core.cljs b/src/status_im/mailserver/core.cljs index 76421d1dab..d8a824e315 100644 --- a/src/status_im/mailserver/core.cljs +++ b/src/status_im/mailserver/core.cljs @@ -184,8 +184,9 @@ (fx/defn handle-successful-request {:events [::request-success]} - [{:keys [db]} response-js] - {:db (dissoc db :mailserver/current-request)}) + [{:keys [db] :as cofx} response-js] + {:db (dissoc db :mailserver/current-request) + :dispatch [:sanitize-messages-and-process-response response-js]}) (fx/defn process-next-messages-request {:events [::request-messages]}