fix timeline non contacts
Signed-off-by: andrey <motor4ik@gmail.com>
This commit is contained in:
parent
e5ada29ed8
commit
b3a3a753d2
|
@ -271,7 +271,7 @@
|
||||||
(transport.filters/load-chat chat-id)
|
(transport.filters/load-chat chat-id)
|
||||||
(navigate-to-chat chat-id))))
|
(navigate-to-chat chat-id))))
|
||||||
|
|
||||||
(def timeline-chat-id "@timeline")
|
(def timeline-chat-id "@timeline70bd746ddcc12beb96b2c9d572d0784ab137ffc774f5383e50585a932080b57cca0484b259e61cecbaa33a4c98a300a")
|
||||||
|
|
||||||
(defn profile-chat-topic [public-key]
|
(defn profile-chat-topic [public-key]
|
||||||
(str "@" public-key))
|
(str "@" public-key))
|
||||||
|
|
|
@ -64,7 +64,10 @@
|
||||||
(assoc-in [public-key :nickname] (:nickname contact))))
|
(assoc-in [public-key :nickname] (:nickname contact))))
|
||||||
%
|
%
|
||||||
contacts))
|
contacts))
|
||||||
:dispatch-n (map (fn [{:keys [public-key]}] [:start-profile-chat public-key]) contacts)})
|
:dispatch-n (map (fn [{:keys [public-key] :as contact}]
|
||||||
|
(when (contact.db/added? contact)
|
||||||
|
[:start-profile-chat public-key]))
|
||||||
|
contacts)})
|
||||||
|
|
||||||
(fx/defn upsert-contact
|
(fx/defn upsert-contact
|
||||||
[{:keys [db] :as cofx}
|
[{:keys [db] :as cofx}
|
||||||
|
|
Loading…
Reference in New Issue