mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-23 01:13:48 +01:00
Improve readability a little
This commit is contained in:
parent
0d9bc1f1e5
commit
ddcdfbd584
@ -182,6 +182,7 @@ export default class Connection {
|
||||
|
||||
/**
|
||||
* チャンネルから切断
|
||||
* @param id チャンネルコネクションID
|
||||
*/
|
||||
@autobind
|
||||
private disconnectChannel(id: string) {
|
||||
@ -193,6 +194,10 @@ export default class Connection {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* チャンネルへメッセージ送信要求時
|
||||
* @param data メッセージ
|
||||
*/
|
||||
@autobind
|
||||
private onChannelMessageRequested(data: any) {
|
||||
const channel = this.channels.find(c => c.id === data.id);
|
||||
|
Loading…
Reference in New Issue
Block a user