Don't mark own messages as new message

This commit is contained in:
TingPing 2015-01-28 20:46:45 -05:00 committed by Patrick Griffis
parent 382908ab6d
commit 2ea12bce1d

View File

@ -495,8 +495,16 @@ inbound_chanmsg (server *serv, session *sess, char *chan, char *from,
if (sess != current_tab)
{
sess->msg_said = TRUE;
sess->new_data = FALSE;
if (fromme)
{
sess->msg_said = FALSE;
sess->new_data = TRUE;
}
else
{
sess->msg_said = TRUE;
sess->new_data = FALSE;
}
lastact_update (sess);
}