We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ed25a9 commit 1bd62f1Copy full SHA for 1bd62f1
src/status_im/chat/models.cljs
@@ -331,6 +331,7 @@
331
332
(fx/defn start-timeline-chat
333
"Starts a new timeline chat"
334
+ {:events [:chat/start-timeline-chat]}
335
[cofx]
336
(when-not (active-chat? cofx constants/timeline-chat-id)
337
(add-public-chat cofx constants/timeline-chat-id nil true)))
src/status_im/chat/models/loading.cljs
@@ -28,7 +28,9 @@
28
new-chats)
29
chats (merge old-chats chats)]
30
{:db (assoc db :chats chats
31
- :chats/loading? false)}))
+ :chats/loading? false)
32
+ :dispatch-n [[:chat/start-timeline-chat]
33
+ [:start-profile-chat (get-in db [:multiaccount :public-key])]]}))
34
35
(fx/defn initialize-chats
36
"Initialize persisted chats on startup"
0 commit comments