[Glitch] Allow joining several hashtags in a single column

Port 4c03e05a4e to glitch-soc

This introduces new requirements in the API:

  `/api/v1/timelines/tag/:tag` now accepts new params: `any`, `all` and `none`
  It now returns status matching tag :tag or any of the :any, provided that
  they also include all tags in `all` and none of `none`.
This commit is contained in:
Thibaut Girka
2018-12-18 17:56:08 +01:00
committed by ThibG
parent 6073195a7d
commit 4be7313298
10 changed files with 279 additions and 49 deletions

View File

@@ -27,7 +27,7 @@ export default class HashtagTimeline extends React.PureComponent {
const { dispatch, hashtag } = this.props;
dispatch(expandHashtagTimeline(hashtag));
this.disconnect = dispatch(connectHashtagStream(hashtag));
this.disconnect = dispatch(connectHashtagStream(hashtag, hashtag));
}
componentWillUnmount () {