mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Only send messages in chat mode
This commit is contained in:
parent
94e7e5a446
commit
ab50d324c4
10
app.c
10
app.c
@ -91,9 +91,13 @@ static void main_event_loop(void)
|
||||
}
|
||||
inp_clear();
|
||||
} else {
|
||||
jabber_send(command);
|
||||
show_outgoing_msg("me", command);
|
||||
if (showing == CHAT) {
|
||||
if (showing == CONS) {
|
||||
cons_bad_command(command);
|
||||
cons_show();
|
||||
}
|
||||
else {
|
||||
jabber_send(command);
|
||||
show_outgoing_msg("me", command);
|
||||
chat_show();
|
||||
}
|
||||
inp_clear();
|
||||
|
Loading…
Reference in New Issue
Block a user