Merge pull request #341 from TingPing/lastact

Add last activity keybinding from fedora
This commit is contained in:
RichardHitt
2013-01-07 14:20:26 -08:00
7 changed files with 163 additions and 2 deletions

View File

@@ -301,7 +301,10 @@ is_hilight (char *from, char *text, session *sess, server *serv)
{
g_free (text);
if (sess != current_tab)
{
sess->nick_said = TRUE;
lastact_update (sess);
}
fe_set_hilight (sess);
return 1;
}
@@ -364,6 +367,7 @@ inbound_action (session *sess, char *chan, char *from, char *ip, char *text, int
sess->msg_said = TRUE;
sess->new_data = FALSE;
}
lastact_update (sess);
}
user = userlist_find (sess, from);
@@ -421,6 +425,7 @@ inbound_chanmsg (server *serv, session *sess, char *chan, char *from, char *text
{
sess->msg_said = TRUE;
sess->new_data = FALSE;
lastact_update (sess);
}
user = userlist_find (sess, from);