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=' +
at
} else if (type == 'tag') {
if (type == 'tag') {
var tag = localStorage.getItem('tag-range')
if (tag == 'local') {
data = data + '&local=true'
}
if(data.name) {
data = data.name
}
var start =
wss +
'/api/v1/streaming/?stream=hashtag&tag=' +
data +
'&access_token=' +
at
at + add
} else if (type == 'noauth') {
var start = 'wss://' + acct_id + '/api/v1/streaming/?stream=public:local'
} else if (type == 'list') {