mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
disable this for now as sync is not an EventEmitter anymore
This commit is contained in:
parent
e080bf28a7
commit
0424ffe231
@ -18,13 +18,13 @@ export class SyncStatusViewModel extends EventEmitter {
|
|||||||
|
|
||||||
onFirstSubscriptionAdded(name) {
|
onFirstSubscriptionAdded(name) {
|
||||||
if (name === "change") {
|
if (name === "change") {
|
||||||
this._sync.on("status", this._onStatus);
|
//this._sync.status.("status", this._onStatus);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
onLastSubscriptionRemoved(name) {
|
onLastSubscriptionRemoved(name) {
|
||||||
if (name === "change") {
|
if (name === "change") {
|
||||||
this._sync.on("status", this._onStatus);
|
//this._sync.status.("status", this._onStatus);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user