This commit is contained in:
parent
ed237e4d0e
commit
02869b6aed
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ export const connectTimelineStream = (timelineId, channelName, params = {}, opti
|
|||
onReceive (data) {
|
||||
switch(data.event) {
|
||||
case 'update':
|
||||
if (this.shouldUpdate(timelineId, data.stream)) {
|
||||
if ((timelineId === 'home' && data.stream[0].startsWith('user')) || (timelineId === 'community' && data.stream[0].startsWith('public')) || (timelineId === data.stream[0])) {
|
||||
dispatch(updateTimeline(timelineId, JSON.parse(data.payload), options.accept));
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue