1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-12-21 21:49:40 -08:00

accept @ as a title to trigger file uploading in notice

This commit is contained in:
Connor Olding 2024-08-10 00:22:22 -07:00
parent 28d87b4616
commit 7d8d529e80

View file

@ -370,6 +370,9 @@ __notice() {
if [ $# = 1 ] && [ "${message#@}" != "$message" ]; then
__notice_upload "${message#@}" || return
lament "$normal"
elif [ $# = 1 ] && [ "$title" = @ ]; then
__notice_upload "$message" || return
lament "$normal"
fi
if [ -e "$conf" ]; then