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();
|
inp_clear();
|
||||||
} else {
|
} else {
|
||||||
jabber_send(command);
|
if (showing == CONS) {
|
||||||
show_outgoing_msg("me", command);
|
cons_bad_command(command);
|
||||||
if (showing == CHAT) {
|
cons_show();
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
jabber_send(command);
|
||||||
|
show_outgoing_msg("me", command);
|
||||||
chat_show();
|
chat_show();
|
||||||
}
|
}
|
||||||
inp_clear();
|
inp_clear();
|
||||||
|
Loading…
Reference in New Issue
Block a user