diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-08-07 10:01:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-07 10:01:19 +0200 |
commit | 5e35aa82802b09a63d4625fa9c1837ad75178553 (patch) | |
tree | 03ed315a9ca8e4a722d5cc46db0260e0c22d339a /app/javascript/mastodon/components/status_content.js | |
parent | a8958d07e222f2aa6867e8a5bf93cce4535fd3ce (diff) |
Fix non-lowercase hashtags not being picked up by the streaming API (#11508)
Regression from f371b32 Fix hashtag links always being lowercase
Diffstat (limited to 'app/javascript/mastodon/components/status_content.js')
-rw-r--r-- | app/javascript/mastodon/components/status_content.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/components/status_content.js b/app/javascript/mastodon/components/status_content.js index 549de95fc..76117f1d9 100644 --- a/app/javascript/mastodon/components/status_content.js +++ b/app/javascript/mastodon/components/status_content.js @@ -112,7 +112,7 @@ export default class StatusContent extends React.PureComponent { } onHashtagClick = (hashtag, e) => { - hashtag = hashtag.replace(/^#/, '').toLowerCase(); + hashtag = hashtag.replace(/^#/, ''); if (this.context.router && e.button === 0 && !(e.ctrlKey || e.metaKey)) { e.preventDefault(); |