configuration/local/bin/mmute
2021-03-17 10:21:03 +01:00

8 lines
210 B
Bash
Executable File

#!/bin/sh
if [ -z "$*" ]; then
exec mmute .
else
mseq "$@" | mshow -qh message-id:references:in-reply-to | grep -o '<[^>]*>' | cat ~/.mblaze/muted - | sort | uniq | sponge ~/.mblaze/muted
mflag -fSt "$@"
fi