diff options
author | James Booth <boothj5@gmail.com> | 2015-09-25 22:08:21 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-09-25 22:08:21 +0100 |
commit | 22ba3db0b27a34f62594adaab4519c854ee72f77 (patch) | |
tree | c8071229667f5cd9811478b8d8ab143583b59c2a | |
parent | f7aa03f8e66a4d062555e81aef39e39fff972217 (diff) | |
download | profani-tty-22ba3db0b27a34f62594adaab4519c854ee72f77.tar.gz |
Send current presence when autoaway mode idle
-rw-r--r-- | src/profanity.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/profanity.c b/src/profanity.c index d5c2a493..1e542420 100644 --- a/src/profanity.c +++ b/src/profanity.c @@ -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); |