Skip to content

Commit

Permalink
remove publisher
Browse files Browse the repository at this point in the history
  • Loading branch information
cammellos committed Feb 14, 2022
1 parent 04290a7 commit 9688b58
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 54 deletions.
9 changes: 3 additions & 6 deletions src/status_im/mailserver/core.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
(multiaccounts.update/multiaccount-update :use-mailservers? use-mailservers? {})
(if use-mailservers?
;; TODO: fixme
true ;(connect-to-mailserver)
(disconnect-from-mailserver)
(disconnect-from-mailserver))))

(defonce showing-connection-error-popup? (atom false))
Expand All @@ -149,9 +149,6 @@
preferred-mailserver]))
:style "default"}]}))

(defn check-connection! []
(re-frame/dispatch [:mailserver/check-connection-timeout]))

(fx/defn retry-next-messages-request
{:events [:mailserver.ui/retry-request-pressed]}
[{:keys [db] :as cofx}]
Expand Down Expand Up @@ -369,9 +366,9 @@
(multiaccounts.update/multiaccount-update
:pinned-mailservers (dissoc pinned-mailservers current-fleet)
{})
(dismiss-connection-error false)
(dismiss-connection-error false))))
;; TODO: fixme
true)))
; true)))
;(change-mailserver))))

(fx/defn pin
Expand Down
1 change: 0 additions & 1 deletion src/status_im/multiaccounts/logout/core.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
(when should-send-metrics?
(anon-metrics/stop-transferring))
(keychain/save-auth-method key-uid auth-method)
(transport/stop-whisper)
(wallet/clear-timeouts)
(init/initialize-app-db))))

Expand Down
7 changes: 0 additions & 7 deletions src/status_im/transport/core.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
[status-im.pairing.core :as pairing]
[status-im.utils.fx :as fx]
[status-im.utils.handlers :as handlers]
[status-im.utils.publisher :as publisher]
status-im.transport.shh
[taoensso.timbre :as log]
[status-im.utils.universal-links.core :as universal-links]))
Expand Down Expand Up @@ -66,10 +65,4 @@
(add-custom-mailservers mailservers))}
(fetch-node-info-fx)
(pairing/init)
(publisher/start-fx)
(universal-links/process-stored-event)))

(fx/defn stop-whisper
"Stops whisper protocol"
[cofx]
(publisher/stop-fx cofx))
38 changes: 0 additions & 38 deletions src/status_im/utils/publisher.cljs

This file was deleted.

4 changes: 2 additions & 2 deletions status-go-version.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"owner": "status-im",
"repo": "status-go",
"version": "bug/dont-overwrite-send-status",
"commit-sha1": "3bd60dd4f8d3b2d53de3b2938f5a7f4986ea7000",
"src-sha256": "1jz7v57630i0b7v3gs9w0crbgz4nhjkx85m4b8sv5rc158yjfrsk"
"commit-sha1": "400419583c3f097b4f4fa45b107b5ecb137bfc26",
"src-sha256": "0p6q79nvlgr52p6hhsjzfrgjnvgvgdj259w6agjfilg2j0vgsi99"
}

0 comments on commit 9688b58

Please sign in to comment.