mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-20 03:26:21 +00:00
Align avatar behaviour with urlopen
`/executable avatar` now also uses cmdtemplate and parse %p. It seems to me that the `/avatar` command was actually completely broken on master.
This commit is contained in:
@@ -2314,7 +2314,7 @@ _get_default_string(preference_t pref)
|
||||
case PREF_COLOR_NICK:
|
||||
return "false";
|
||||
case PREF_AVATAR_CMD:
|
||||
return "xdg-open";
|
||||
return "xdg-open %p";
|
||||
case PREF_URL_OPEN_CMD:
|
||||
return "xdg-open %u";
|
||||
case PREF_VCARD_PHOTO_CMD:
|
||||
|
||||
Reference in New Issue
Block a user