Skip to content

Commit

Permalink
npm run format
Browse files Browse the repository at this point in the history
  • Loading branch information
max-schlenz committed Oct 13, 2023
1 parent f87923e commit 20d28b7
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion nestjs/conf/src/chat/gateway/chat/chat.gateway.ts
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,7 @@ export class ChatGateway
.to(inviteeOnline.socketId)
.emit('NewChannelInvitationBell', inviteeUsername);
}

const ChannelMembers = await this.channelService.getMembers(channelId);
for (const member of ChannelMembers) {
const memberOnline: ConnectedUser =
Expand Down
2 changes: 0 additions & 2 deletions vue/conf/src/components/channels/ChannelManager.vue
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,6 @@ const setUserSignedListener = async () => {
socket.value.on(
'ChannelInvitationAcceptedManager',
(channelName: string, inviteeName: string) => {
setMembers().then(() => {
setCurrentUserRole()
})
Expand Down Expand Up @@ -293,7 +292,6 @@ const setUserSignedListener = async () => {
)
socket.value.on('memberBanned', (bannedUserName: string, banChannelId: number) => {
if (banChannelId === channelId) {
if (bannedUserName === username.value) {
notificationStore.showNotification('You got banned from Channel', true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,6 @@ watch(inputName, (newValue) => {
})
const goToProfile = (userId: number | undefined) => {
if (userId === undefined) {
return
}
Expand Down

0 comments on commit 20d28b7

Please sign in to comment.