Skip to content

Commit

Permalink
Dont add member on speakable role (#49)
Browse files Browse the repository at this point in the history
* [change] - 美化

* [change] - チャンネル作成時、MEMBERを入れないように
  • Loading branch information
NfoAlex authored Jun 15, 2024
1 parent 25a5a15 commit 6594897
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/actionHandler/Channel/createChannel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default async function createChannel(
description,
userId,
isPrivate,
"MEMBER",
"",
(err:Error) => { //結果処理
//エラーなら失敗と返し、無事ならtrueを返す
if (err) {
Expand Down
2 changes: 1 addition & 1 deletion src/socketHandler/User.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ import roleCheck from "../util/roleCheck";
import fetchUserChannelOrder from "../actionHandler/User/fetchUserChannelOrder";
import saveUserChannelOrder from "../actionHandler/User/saveUserChannelOrder";
import fetchUserInbox from "../actionHandler/User/fetchUserInbox";
import removeFromUserInbox from "../actionHandler/User/removeFromUserInbox";

import type IRequestSender from "../type/requestSender";
import type { IUserConfig } from "../type/User";
import type { IChannelOrder } from "../type/Channel";
import removeFromUserInbox from "../actionHandler/User/removeFromUserInbox";

module.exports = (io:Server) => {
io.on("connection", (socket:Socket) => {
Expand Down

0 comments on commit 6594897

Please sign in to comment.