1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Include last activity with autoaway mode away

This commit is contained in:
James Booth 2015-09-25 21:53:29 +01:00
parent c5178747fd
commit f7aa03f8e6

View File

@ -183,7 +183,7 @@ _check_autoaway()
// handle away mode
if (strcmp(pref_autoaway_mode, "away") == 0) {
cl_ev_presence_send(RESOURCE_AWAY, pref_autoaway_message, 0);
cl_ev_presence_send(RESOURCE_AWAY, pref_autoaway_message, idle_ms / 1000);
ui_auto_away();
// handle idle mode