ce1623691e
Splits UserActivity into a tristate of 'active' (last < 1s), 'passive' (lasts a couple of mins) and neither. Read receipts are sent when 'active', read markers are sent while 'passive'. Also fixed a document / window mix-up on the 'blur' handler. Also adds a unit test for UserActivity because it's quite complex now (and changes UserActivity to make it testable by accessing the singleton via sharedInstance() rather than exporting it directly). Fixes https://github.com/vector-im/riot-web/issues/9023 |
||
---|---|---|
.. | ||
autocomplete | ||
components | ||
i18n | ||
i18n-test | ||
img | ||
notifications | ||
stores | ||
utils | ||
.eslintrc.js | ||
all-tests.js | ||
DecryptionFailureTracker-test.js | ||
matrix-to-test.js | ||
mock-clock.js | ||
PhasedRollOut-test.js | ||
skinned-sdk.js | ||
test-utils.js | ||
UserActivity-test.js |