mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Removed typing notification when not in chat win
This commit is contained in:
parent
d9c47c9b0d
commit
380561a79f
@ -65,7 +65,6 @@ static void _current_window_refresh(void);
|
|||||||
static void _win_switch_if_active(const int i);
|
static void _win_switch_if_active(const int i);
|
||||||
static void _win_show_time(WINDOW *win);
|
static void _win_show_time(WINDOW *win);
|
||||||
static void _win_show_user(WINDOW *win, const char * const user, const int colour);
|
static void _win_show_user(WINDOW *win, const char * const user, const int colour);
|
||||||
static void _win_show_typing(WINDOW *win, const char * const short_from);
|
|
||||||
static void _win_show_message(WINDOW *win, const char * const message);
|
static void _win_show_message(WINDOW *win, const char * const message);
|
||||||
static void _show_status_string(WINDOW *win, const char * const from,
|
static void _show_status_string(WINDOW *win, const char * const from,
|
||||||
const char * const show, const char * const status, const char * const pre,
|
const char * const show, const char * const status, const char * const pre,
|
||||||
@ -199,9 +198,6 @@ win_show_typing(const char * const from)
|
|||||||
|
|
||||||
// have chat window but not currently in it
|
// have chat window but not currently in it
|
||||||
} else if (win_index != _curr_prof_win) {
|
} else if (win_index != _curr_prof_win) {
|
||||||
WINDOW *win = _wins[win_index].win;
|
|
||||||
_win_show_time(win);
|
|
||||||
_win_show_typing(win, short_from);
|
|
||||||
_cons_show_typing(short_from);
|
_cons_show_typing(short_from);
|
||||||
status_bar_new(win_index);
|
status_bar_new(win_index);
|
||||||
dirty = TRUE;
|
dirty = TRUE;
|
||||||
@ -741,12 +737,6 @@ _win_show_user(WINDOW *win, const char * const user, const int colour)
|
|||||||
wattroff(win, COLOR_PAIR(2));
|
wattroff(win, COLOR_PAIR(2));
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
|
||||||
_win_show_typing(WINDOW *win, const char * const short_from)
|
|
||||||
{
|
|
||||||
wprintw(win, "%s is typing...\n", short_from);
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_win_show_message(WINDOW *win, const char * const message)
|
_win_show_message(WINDOW *win, const char * const message)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user