summary refs log tree commit diff stats
path: root/src/common/inbound.c
diff options
context:
space:
mode:
authorRichardHitt <rbh00@netcom.com>2013-01-07 14:20:26 -0800
committerRichardHitt <rbh00@netcom.com>2013-01-07 14:20:26 -0800
commit0213f21a46001cedd8b1c2d5e362b359214636d8 (patch)
tree1fae2a6c228801b6824f25cef9dc2abab412577b /src/common/inbound.c
parent0ecbeb71522b51d9e3cd943ec67f52305d917287 (diff)
parent2af44e02bfc211d281cc51a86d55032134e4da31 (diff)
Merge pull request #341 from TingPing/lastact
Add last activity keybinding from fedora
Diffstat (limited to 'src/common/inbound.c')
-rw-r--r--src/common/inbound.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/inbound.c b/src/common/inbound.c
index 41b36296..54e5bff0 100644
--- a/src/common/inbound.c
+++ b/src/common/inbound.c
@@ -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);