mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 06:49:14 +08:00
301a0fa54e
Before this commit, the presence state of users were stored on the server side and any updates to the state meant we had to publish the entire state to the clients. Also, the way the state of users were stored on the server side meant we didn't have a way to differentiate between replying users and whispering users. In this redesign, we decided to move the tracking of users state to the client side and have the server publish client events instead. As a result of this change, we're able to remove the number of opened connections needed to track presence and also reduce the payload that is sent for each event. At the same time, we've also improved on the restrictions when publishing message_bus messages. Users that do not have permission to see certain events will not receive messages for those events. |
||
---|---|---|
.. | ||
discourse-details | ||
discourse-internet-explorer | ||
discourse-local-dates | ||
discourse-narrative-bot | ||
discourse-presence | ||
lazy-yt | ||
poll |