This commit is contained in:
Jordan Bancino 2022-07-29 15:28:49 -04:00
parent 3fd5e448b2
commit 1ae3a4e9c4

View file

@ -144,7 +144,8 @@ recipe_patch() {
EDITOR=vi
fi
PATCH_FILE="${MXID}_$(date +%s).patch"
NORMALIZED_MXID=$(echo "$MXID" | sed -e 's/@//g' -e 's/:/-/g')
PATCH_FILE="${NORMALIZED_MXID}_$(date +%s).patch"
(
printf 'From: "%s" <%s>\n' "$DISPLAY_NAME" "$MXID"