0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-08 07:50:43 -05:00

Merge pull request #1788 from penpot/hirunatan-fix-multi-user

Hirunatan fix multi user
This commit is contained in:
Andrey Antukh 2022-04-06 09:20:27 +02:00 committed by GitHub
commit e62f0603b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 5 deletions

View file

@ -83,6 +83,7 @@
- Fix undo when rotating groups [Taiga #3136](https://tree.taiga.io/project/penpot/issue/3136)
- Fix component name in sidebar widget [Taiga #3144](https://tree.taiga.io/project/penpot/issue/3144)
- Fix resize rotated shape with top&down constraints [Taiga #3167](https://tree.taiga.io/project/penpot/issue/3167)
- Fix multi user not working [Taiga #3195](https://tree.taiga.io/project/penpot/issue/3195)
### :arrow_up: Deps updates
### :heart: Community contributions by (Thank you!)

View file

@ -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