mirror of
https://github.com/penpot/penpot.git
synced 2025-08-03 10:38:30 +02:00
Merge pull request #1788 from penpot/hirunatan-fix-multi-user
Hirunatan fix multi user
This commit is contained in:
commit
e62f0603b5
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