discourse/plugins/discourse-presence/assets/javascripts/discourse
Osama Sayegh bd709c89a7
FIX: Unsubscribe from topic presence when navigating between topics (#12198)
This PR fixes a bug where if you navigate from topic to another one (via suggested topics, notifications etc.), the previous topic is not unsubscribed from presence manager, which means if you visit lots of topics all the subscriptions will accumulate and can cause rate limit errors.

This bug is exposed by the loading slider we're currently experimenting with on Meta because we no longer have an intermediate state when navigating between topics which means the `willDestroyElement` hook that's responsible for unsubscribing is not called.
2021-02-24 23:14:38 +03:00
..
components FIX: Unsubscribe from topic presence when navigating between topics (#12198) 2021-02-24 23:14:38 +03:00
lib DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
services DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
templates Fix i18n issues reported on Crowdin (#10925) 2020-10-16 15:24:58 +02:00