mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 04:06:44 +02:00
flush requests queue
This commit is contained in:
parent
b01055f962
commit
72f6aa61dd
@ -393,6 +393,11 @@ export default class CountlyAnalytics {
|
||||
if (!this.disabled && this.anonymous === anonymous) return;
|
||||
if (!this.canEnable()) return;
|
||||
|
||||
if (!this.disabled) {
|
||||
// flush request queue as our userKey is going to change, no need to await it
|
||||
this.request();
|
||||
}
|
||||
|
||||
const config = SdkConfig.get();
|
||||
this.baseUrl = new URL("/i", config.countly.url);
|
||||
this.appKey = config.countly.appKey;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user