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

Send current presence when autoaway mode idle

This commit is contained in:
James Booth 2015-09-25 22:08:21 +01:00
parent f7aa03f8e6
commit 22ba3db0b2

View File

@ -188,7 +188,7 @@ _check_autoaway()
// handle idle mode
} else if (strcmp(pref_autoaway_mode, "idle") == 0) {
cl_ev_presence_send(RESOURCE_ONLINE, pref_autoaway_message, idle_ms / 1000);
cl_ev_presence_send(current_presence, pref_autoaway_message, idle_ms / 1000);
}
prefs_free_string(pref_autoaway_message);