|
@ -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)); |
|
|