summaryrefslogtreecommitdiff
path: root/src/server/api/stream
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-10-20 11:19:27 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-10-20 11:19:27 +0900
commit71c9964e19e5688d74a8f478630977ccf5d004fe (patch)
treed802c06f9755f18c82a0bb6fe7bfc9382ee46f0b /src/server/api/stream
parentMerge pull request #2950 from syuilo/l10n_develop (diff)
downloadsharkey-71c9964e19e5688d74a8f478630977ccf5d004fe.tar.gz
sharkey-71c9964e19e5688d74a8f478630977ccf5d004fe.tar.bz2
sharkey-71c9964e19e5688d74a8f478630977ccf5d004fe.zip
Fix bug and clean up
Diffstat (limited to 'src/server/api/stream')
-rw-r--r--src/server/api/stream/index.ts5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/server/api/stream/index.ts b/src/server/api/stream/index.ts
index e376b7a29e..96a4c7add6 100644
--- a/src/server/api/stream/index.ts
+++ b/src/server/api/stream/index.ts
@@ -1,6 +1,5 @@
import autobind from 'autobind-decorator';
import * as websocket from 'websocket';
-import * as debug from 'debug';
import User, { IUser } from '../../../models/user';
import readNotification from '../common/read-notification';
@@ -12,8 +11,6 @@ import Channel from './channel';
import channels from './channels';
import { EventEmitter } from 'events';
-const log = debug('misskey');
-
/**
* Main stream connection
*/
@@ -147,7 +144,6 @@ export default class Connection {
@autobind
private onChannelConnectRequested(payload: any) {
const { channel, id, params, pong } = payload;
- log(`CH CONNECT: ${id} ${channel} by @${this.user.username}`);
this.connectChannel(id, params, channel, pong);
}
@@ -157,7 +153,6 @@ export default class Connection {
@autobind
private onChannelDisconnectRequested(payload: any) {
const { id } = payload;
- log(`CH DISCONNECT: ${id} by @${this.user.username}`);
this.disconnectChannel(id);
}