mirror of
https://github.com/penpot/penpot.git
synced 2025-05-20 00:56:10 +02:00
🐛 Fix multi user not working
This commit is contained in:
parent
39fa939f58
commit
654e12a2c3
2 changed files with 4 additions and 5 deletions
|
@ -55,8 +55,8 @@
|
|||
(->> stream
|
||||
(rx/filter (ptk/type? ::dws/message))
|
||||
(rx/map deref)
|
||||
(rx/map process-message)
|
||||
(rx/filter #(= subs-id (:subs-id %))))
|
||||
(rx/filter #(= subs-id (:subs-id %)))
|
||||
(rx/map process-message))
|
||||
|
||||
;; On reconnect, send again the subscription messages
|
||||
(->> stream
|
||||
|
@ -158,9 +158,7 @@
|
|||
(update-presence [presence]
|
||||
(-> presence
|
||||
(update session-id update-session presence)
|
||||
(d/without-nils)))
|
||||
|
||||
]
|
||||
(d/without-nils)))]
|
||||
|
||||
(ptk/reify ::handle-presence
|
||||
ptk/UpdateEvent
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue