about summary refs log tree commit diff stats
path: root/src/xmpp/avatar.h
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-03-10 07:12:13 +0100
committerMichael Vetter <jubalh@iodoru.org>2020-03-10 07:12:13 +0100
commit52e7e596aa0e7ca8b8db11c7c47c584fc7a75be6 (patch)
treed7020dffd72bd991f4ee73158db8fec763587ca6 /src/xmpp/avatar.h
parent7e62d458ee22e9171bf5741cda5c8ce85b20bd6a (diff)
downloadprofani-tty-52e7e596aa0e7ca8b8db11c7c47c584fc7a75be6.tar.gz
xep-0084/avatar: add option to open avatar directly
Change:
`/avatar me@somewhere.org` -> `/avatar get me@somewhere.org`

New:
`/avatar cmd feh`
`/avatar open me@somewhere.org`

Implement https://github.com/profanity-im/profanity/issues/1281
Diffstat (limited to 'src/xmpp/avatar.h')
-rw-r--r--src/xmpp/avatar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp/avatar.h b/src/xmpp/avatar.h
index 707600b3..49c03750 100644
--- a/src/xmpp/avatar.h
+++ b/src/xmpp/avatar.h
@@ -39,6 +39,6 @@
 #include <glib.h>
 
 void avatar_pep_subscribe(void);
-gboolean avatar_get_by_nick(const char* nick);
+gboolean avatar_get_by_nick(const char* nick, gboolean open);
 
 #endif