diff --git a/src/line_info.c b/src/line_info.c index 5ad2455..9729a5f 100644 --- a/src/line_info.c +++ b/src/line_info.c @@ -683,17 +683,6 @@ void line_info_print(ToxWindow *self) } } - if (type == OUT_MSG && timed_out(line->timestamp, NOREAD_FLAG_TIMEOUT)) { - wattron(win, COLOR_PAIR(RED)); - wprintw(win, " x", line->msg); - wattroff(win, COLOR_PAIR(RED)); - - if (line->noread_flag == false) { - line->noread_flag = true; - line->len += 2; - } - } - wprintw(win, "\n", line->msg); break; } diff --git a/src/windows.c b/src/windows.c index b3d8ea8..826eb64 100644 --- a/src/windows.c +++ b/src/windows.c @@ -428,6 +428,8 @@ void on_group_status_change(Tox *m, uint32_t groupnumber, uint32_t peer_id, TOX_ windows[i]->onGroupStatusChange(windows[i], m, groupnumber, peer_id, status); } } + + flag_interface_refresh(); } void on_group_peer_join(Tox *m, uint32_t groupnumber, uint32_t peer_id, void *userdata) @@ -437,6 +439,8 @@ void on_group_peer_join(Tox *m, uint32_t groupnumber, uint32_t peer_id, void *us windows[i]->onGroupPeerJoin(windows[i], m, groupnumber, peer_id); } } + + flag_interface_refresh(); } void on_group_peer_exit(Tox *m, uint32_t groupnumber, uint32_t peer_id, Tox_Group_Exit_Type exit_type,