forwarder: generalize reply quote format

* replies generated by mautrix-telegram are different
This commit is contained in:
Peter Cai 2021-01-17 14:03:23 +08:00
parent 856d7c511a
commit 482d6332c4
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ module.exports = class Forwarder {
break;
default:
// Get rid of the reply quote generated by Element client
msgTxt = content.body.replace(/> <@(.*):(.*)> (.*)\n\n/, "");
msgTxt = content.body.replace(/> <(.*)> (.*)\n\n/, "");
break;
}
break;