FIX: Correctly avoid concurrent requests in PresenceChannel get
This if statement was intended to prevent concurrent `/presence/get` requests, but it was missing a critical line. Now it should function as intended.
This commit is contained in:
parent
edc1378aed
commit
495aa4752c
|
@ -262,6 +262,7 @@ export default class PresenceService extends Service {
|
|||
if (this._initialDataAjax) {
|
||||
// try again next runloop
|
||||
next(this, () => once(this, this._makeInitialDataRequest));
|
||||
return;
|
||||
}
|
||||
|
||||
if (Object.keys(this._initialDataRequests).length === 0) {
|
||||
|
|
Loading…
Reference in New Issue