fix: don't highlight new tokens until analytics initialize (#4990)

This commit is contained in:
ggurdin 2025-12-30 14:26:30 -05:00 committed by GitHub
parent eef9a56275
commit 2711ded979
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -77,7 +77,9 @@ class TokensUtil {
) {
if (!event.eventId.isValidMatrixId ||
(MatrixState.pangeaController.subscriptionController.isSubscribed ==
false)) {
false) ||
MatrixState
.pangeaController.matrixState.analyticsDataService.isInitializing) {
return [];
}