Skip to content

Commit

Permalink
fix: incorrect stream notification
Browse files Browse the repository at this point in the history
  • Loading branch information
yuimarudev committed Feb 19, 2024
1 parent 63079c2 commit 69883e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/voice/room.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,8 @@ export default class Room {
if (oldState.self_video !== newState.self_video)
content = `カメラ配信を${newState.self_video ? "開始" : "終了"}`;

if (!content) return;

const message = constructSpeakableMessage(
`${
members.get(newState.guild_id, newState.user_id)?.nick ??
Expand Down

0 comments on commit 69883e6

Please sign in to comment.