This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse/tests/unit/services
David Taylor 25ad99637d
FIX: Avoid race conditions when toggling presence state (#19648)
We need to set the local state of a channel before performing any async operations. Otherwise, multiple leave/join calls can race against each other and cause the local state to get out-of-sync with the server.

Followup to e70ed31a
2022-12-29 00:44:31 +00:00
..
current-user-test.js DEV: Replace current-user:main with service:current-user 2022-08-02 20:16:11 +01:00
document-title-test.js DEV: Remove user options from current user serializer (#19089) 2022-12-05 18:25:30 +02:00
emoji-store-test.js DEV: Deprecate create-store test helper (#19021) 2022-11-16 10:54:46 +01:00
presence-test.js FIX: Avoid race conditions when toggling presence state (#19648) 2022-12-29 00:44:31 +00:00
screen-track-test.js FIX: Inject appEvents in ScreenTrack (#17751) 2022-08-02 16:22:17 -03:00
site-settings-test.js DEV: Convert SiteSettings to a tracked object (#19015) 2022-11-17 18:44:23 +01:00
store-test.js DEV: Deprecate create-store test helper (#19021) 2022-11-16 10:54:46 +01:00