Browse Source

Fixes streaming callbacks of HashtagTimeline (#3849)

master
alpaca-tc 7 years ago
committed by Eugen Rochko
parent
commit
8d2b3ada80
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/javascript/mastodon/features/hashtag_timeline/index.js

+ 1
- 1
app/javascript/mastodon/features/hashtag_timeline/index.js View File

@ -60,7 +60,7 @@ class HashtagTimeline extends React.PureComponent {
received (data) { received (data) {
switch(data.event) { switch(data.event) {
case 'update': case 'update':
dispatch(updateTimeline('tag', JSON.parse(data.payload)));
dispatch(updateTimeline(`hashtag:${id}`, JSON.parse(data.payload)));
break; break;
case 'delete': case 'delete':
dispatch(deleteFromTimelines(data.payload)); dispatch(deleteFromTimelines(data.payload));

Loading…
Cancel
Save