minimum hashtag streaming

This commit is contained in:
cutls 2020-09-02 12:02:31 +09:00
parent fa440e8d9b
commit f43bd64be2

View File

@ -276,18 +276,19 @@ function reload(type, cc, acct_id, tlid, data, mute, delc, voice, mode) {
'/api/v1/streaming/?stream=public:local:media&only_media=true&access_token=' + '/api/v1/streaming/?stream=public:local:media&only_media=true&access_token=' +
at at
} else if (type == 'tag') { } else if (type == 'tag') {
if (type == 'tag') {
var tag = localStorage.getItem('tag-range') var tag = localStorage.getItem('tag-range')
if (tag == 'local') { if (tag == 'local') {
data = data + '&local=true' data = data + '&local=true'
} }
if(data.name) {
data = data.name
} }
var start = var start =
wss + wss +
'/api/v1/streaming/?stream=hashtag&tag=' + '/api/v1/streaming/?stream=hashtag&tag=' +
data + data +
'&access_token=' + '&access_token=' +
at at + add
} else if (type == 'noauth') { } else if (type == 'noauth') {
var start = 'wss://' + acct_id + '/api/v1/streaming/?stream=public:local' var start = 'wss://' + acct_id + '/api/v1/streaming/?stream=public:local'
} else if (type == 'list') { } else if (type == 'list') {