Skip to content

Commit

Permalink
Notification command: make avatar placeholder optional
Browse files Browse the repository at this point in the history
Fixes #184
  • Loading branch information
exquo committed Mar 28, 2022
1 parent 91b3294 commit 11d3a39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scli
Original file line number Diff line number Diff line change
Expand Up @@ -4103,7 +4103,7 @@ class Actions:
for token, text in (('%s', sender), ('%m', message), ('%a', avatar)):
text = text.replace(r"'", r"'\''")
rmap[token] = text
rmap['_optionals'] = ('%s', '%m')
rmap['_optionals'] = ('%s', '%m', '%a')
self.callf(cfg.notification_command, rmap, background=True)
if not cfg.notification_no_bell:
print('\a', end='')
Expand Down

0 comments on commit 11d3a39

Please sign in to comment.