Dont hilight console once all messages have been read

If we receive a message we get:
<< room message: eagle@conference.anoxinon.me (win 2)

Same for private chats and regular chats.
And several other kinds of notifications.

If we only receive notifications from a chat window it would be nice to
also clear the hilight on the console window since we already catched up
by reading the actual message in the chat window.

Probably not the best description :-) I hope you get it..

Regards https://github.com/profanity-im/profanity/issues/1399
This commit is contained in:
Michael Vetter
2020-07-09 15:44:35 +02:00
parent 8a2026ccbe
commit 11d849aa7f
7 changed files with 124 additions and 63 deletions

View File

@@ -57,7 +57,7 @@
void
api_cons_alert(void)
{
cons_alert();
cons_alert(NULL);
}
int