]> cat aescling's git repositories - mastodon.git/commitdiff
Fixes streaming callbacks of HashtagTimeline (#3849)
authoralpaca-tc <alpaca-tc@alpaca.tc>
Mon, 19 Jun 2017 08:28:35 +0000 (17:28 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Mon, 19 Jun 2017 08:28:35 +0000 (10:28 +0200)
app/javascript/mastodon/features/hashtag_timeline/index.js

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