1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Fixed incoming message plugin call

This commit is contained in:
James Booth 2014-01-03 18:11:25 +00:00
parent c10c9286d1
commit c549595c60

View File

@ -255,7 +255,7 @@ _ui_incoming_msg(const char * const from, const char * const message,
// currently viewing chat window with sender
if (wins_is_current(window)) {
window->print_incoming_message(window, tv_stamp, display_from, message);
window->print_incoming_message(window, tv_stamp, display_from, new_message);
title_bar_set_typing(FALSE);
title_bar_draw();
status_bar_active(num);
@ -281,7 +281,7 @@ _ui_incoming_msg(const char * const from, const char * const message,
}
}
window->print_incoming_message(window, tv_stamp, display_from, message);
window->print_incoming_message(window, tv_stamp, display_from, new_message);
}
int ui_index = num;