Skip to content

Commit

Permalink
Remove invalid groupchat commands
Browse files Browse the repository at this point in the history
These commands only work in audio conferences
  • Loading branch information
JFreegman committed Nov 22, 2023
1 parent 60e1980 commit 114465b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
4 changes: 0 additions & 4 deletions src/execute.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,6 @@ static struct cmd_func groupchat_commands[] = {
{ "/unsilence", cmd_unsilence },
{ "/voice", cmd_set_voice },
{ "/whois", cmd_whois },
#ifdef AUDIO
{ "/mute", cmd_mute },
{ "/sense", cmd_sense },
#endif /* AUDIO */
{ NULL, NULL },
};

Expand Down
6 changes: 0 additions & 6 deletions src/groupchats.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,6 @@ static const char *group_cmd_list[] = {
"/voice",
"/whisper",
"/whois",
#ifdef AUDIO
"/lsdev",
"/sdev",
"/mute",
"/sense",
#endif /* AUDIO */
};

GroupChat groupchats[MAX_GROUPCHAT_NUM];
Expand Down

0 comments on commit 114465b

Please sign in to comment.