fix pubtofeed
This commit is contained in:
parent
f1f65fe074
commit
04ed91f7e4
1 changed files with 2 additions and 2 deletions
|
|
@ -183,8 +183,8 @@ const react = () => {
|
||||||
// pub feed pair fire up again, etc. Now. When the user disconnects from
|
// pub feed pair fire up again, etc. Now. When the user disconnects from
|
||||||
// this side of things. He will overwrite the pub to incoming with null.
|
// this side of things. He will overwrite the pub to incoming with null.
|
||||||
// Let's allow that.
|
// Let's allow that.
|
||||||
newIncoming === pubToLastIncoming[pub] ||
|
newIncoming === pubToLastIncoming[pub] &&
|
||||||
(pubToFeed[pub] === 'disconnected' && newIncoming !== null)
|
!(pubToFeed[pub] === 'disconnected' && newIncoming === null)
|
||||||
) {
|
) {
|
||||||
// eslint-disable-next-line no-continue
|
// eslint-disable-next-line no-continue
|
||||||
continue
|
continue
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue