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:
parent
f7aa03f8e6
commit
22ba3db0b2
@ -188,7 +188,7 @@ _check_autoaway()
|
|||||||
|
|
||||||
// handle idle mode
|
// handle idle mode
|
||||||
} else if (strcmp(pref_autoaway_mode, "idle") == 0) {
|
} 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);
|
prefs_free_string(pref_autoaway_message);
|
||||||
|
Loading…
Reference in New Issue
Block a user