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
This commit is contained in:
Michael Vetter
2020-03-10 07:12:13 +01:00
parent 7e62d458ee
commit 52e7e596aa
9 changed files with 88 additions and 9 deletions

View File

@@ -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