mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-23 12:11:40 +01:00
Fixes streaming callbacks of HashtagTimeline (#3849)
This commit is contained in:
parent
f3be605286
commit
8d2b3ada80
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue