fix pleroma status retrieval when WS disabled

This commit is contained in:
Nicolas Constant 2020-04-19 03:06:00 -04:00
parent 58a05e2b72
commit b1a8ffee2f
No known key found for this signature in database
GPG Key ID: 1E9F677FB01A5688
1 changed files with 2 additions and 1 deletions

View File

@ -67,7 +67,7 @@ export class StreamingWrapper {
});
}
private webSocketGotError(x: Event) {
private webSocketGotError(x: Event) {
this.errorClosing = true;
}
@ -76,6 +76,7 @@ export class StreamingWrapper {
setTimeout(() => {
if (stream.type === StreamTypeEnum.personnal) {
this.pullNewNotifications();
this.pullNewStatuses();
} else {
this.pullNewStatuses();
}