Add status id list

This commit is contained in:
kPherox
2019-04-24 06:07:15 +09:00
parent e0fc3df242
commit e81cf581ef
3 changed files with 16 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
import Mastodon from 'megalodon'
type Protocol = 'http' | 'ws'
type Protocol = 'http' | 'websocket'
export default class Clients {
// Authorized Accounts. keyには`@username@domain`を設定します

View File

@@ -29,7 +29,7 @@ export default class Streaming {
switch (type) {
case 'no-auth':
client = Client.getNoAuthClient(name)
client = Client.getNoAuthClient(name, 'websocket')
stream = 'public:local'
break
default: