mirror of
https://github.com/status-im/status-mobile.git
synced 2025-02-26 23:31:03 +00:00
Allow sending messages offline (non-datasync messages)
This commit is contained in:
parent
4504f07a2a
commit
099bcf8a17
@ -255,7 +255,9 @@
|
|||||||
|
|
||||||
(fx/defn update-envelopes-status
|
(fx/defn update-envelopes-status
|
||||||
[{:keys [db] :as cofx} message-id status]
|
[{:keys [db] :as cofx} message-id status]
|
||||||
(apply fx/merge cofx (map #(update-envelope-status % status) message-id)))
|
(when (or (not= status :not-sent)
|
||||||
|
(= :online (:network db)))
|
||||||
|
(apply fx/merge cofx (map #(update-envelope-status % status) message-id))))
|
||||||
|
|
||||||
(fx/defn set-message-envelope-hash
|
(fx/defn set-message-envelope-hash
|
||||||
"message-type is used for tracking"
|
"message-type is used for tracking"
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"_comment": "Instead use: scripts/update-status-go.sh <rev>",
|
"_comment": "Instead use: scripts/update-status-go.sh <rev>",
|
||||||
"owner": "status-im",
|
"owner": "status-im",
|
||||||
"repo": "status-go",
|
"repo": "status-go",
|
||||||
"version": "v0.92.0",
|
"version": "v0.92.1",
|
||||||
"commit-sha1": "83c384989967131afcb47d7f4df673725adf6a71",
|
"commit-sha1": "3564630c3317f564e4aa10a461448fe2b5a7c54c",
|
||||||
"src-sha256": "0djagpalbpi4zi54raa28m8vnp0gajpm8fb76wm4mc5rz8542an3"
|
"src-sha256": "0rrrydwr7yc9nf9rfpl1vx8ngpkw00q1zdfjw0by9xi49l8lkvf3"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user