configuration/local/bin/mmute

8 lines
210 B
Plaintext
Raw Normal View History

2020-12-04 14:56:09 +01:00
#!/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
2021-03-17 10:21:03 +01:00
mflag -fSt "$@"
2020-12-04 14:56:09 +01:00
fi