forked from mirror/misskey
Merge branch 'develop' of https://github.com/syuilo/misskey into develop
This commit is contained in:
commit
a72cfa7535
@ -443,7 +443,7 @@ export default class MiOS extends EventEmitter {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const promise = new Promise((resolve, reject) => {
|
const promise = new Promise((resolve, reject) => {
|
||||||
const viaStream = this.stream && this.store.state.device.apiViaStream && !forceFetch;
|
const viaStream = this.stream && this.stream.state == 'connected' && this.store.state.device.apiViaStream && !forceFetch;
|
||||||
|
|
||||||
if (viaStream) {
|
if (viaStream) {
|
||||||
const id = Math.random().toString().substr(2, 8);
|
const id = Math.random().toString().substr(2, 8);
|
||||||
|
Loading…
Reference in New Issue
Block a user