File tree 4 files changed +9
-6
lines changed
shell/activity_center/notification/syncing
4 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 62
62
:chatId :chat-id
63
63
:contactVerificationStatus :contact-verification-status
64
64
:communityId :community-id
65
+ :installationId :installation-id
65
66
:membershipStatus :membership-status
66
67
:albumMessages :album-messages })
67
68
(update :last-message #(when % (messages/<-rpc %)))
Original file line number Diff line number Diff line change 250
250
[{:method " wakuext_enableInstallationAndPair"
251
251
:params [{:installationId (:syncing/installation-id db)}]
252
252
:js-response true
253
- :on-success #( rf/dispatch [:sanitize-messages-and-process-response %]) }]]]})
253
+ :on-success [:sanitize-messages-and-process-response ] }]]]})
254
254
255
255
(rf/defn pair-and-sync
256
256
{:events [:pairing/pair-and-sync ]}
Original file line number Diff line number Diff line change 21
21
22
22
(defn installation-created-view
23
23
[{:keys [notification extra-fn]}]
24
- (let [{:keys [installationId read timestamp]} notification
24
+ (let [{:keys [installation-id read timestamp]} notification
25
25
customization-color (rf/sub [:profile/customization-color ])
26
26
theme (quo.theme/use-theme )
27
27
more-details (rn/use-callback
30
30
{:content
31
31
(fn []
32
32
[new-device-sheet/installation-request-creator-view
33
- installationId ])}]))
34
- [installationId ])]
33
+ installation-id ])}]))
34
+ [installation-id ])]
35
35
[swipeable {:extra-fn extra-fn}
36
36
[quo/activity-log
37
37
{:title (i18n/label :t/sync-your-profile )
Original file line number Diff line number Diff line change 2
2
(:require
3
3
[clojure.string :as string]
4
4
[native-module.core :as native-module]
5
+ [re-frame.core :as re-frame]
5
6
[react-native.platform :as platform]
6
7
[status-im.constants :as constants]
7
8
[status-im.contexts.profile.config :as profile.config]
50
51
:syncing/key-uid key-uid
51
52
:syncing/installation-id installation-id)})
52
53
53
- (rf/defn clear-syncing-data
54
- {:events [:syncing/clear-syncing-data ]}
54
+ (defn clear-syncing-data
55
55
[{:keys [db]}]
56
56
{:db (dissoc
57
57
db
58
58
:syncing/key-uid
59
59
:syncing/installation-id
60
60
:syncing/pairing-process-initiated? )})
61
61
62
+ (re-frame/reg-event-fx :syncing/clear-syncing-data clear-syncing-data)
63
+
62
64
(rf/defn preflight-outbound-check-for-local-pairing
63
65
{:events [:syncing/preflight-outbound-check ]}
64
66
[_ set-checks-passed]
You can’t perform that action at this time.
0 commit comments