Add status id list
This commit is contained in:
@@ -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`を設定します
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user