1
0
mirror of https://github.com/anope/anope.git synced 2026-06-30 13:26:38 +02:00

Implement support for the ratified +reply tag.

This commit is contained in:
Sadie Powell
2026-02-13 15:45:08 +00:00
parent 7d7ca934b3
commit bc737c20c9
+2 -1
View File
@@ -351,9 +351,10 @@ void User::SendMessage(BotInfo *source, const Anope::string &msg)
void User::SendMessage(CommandSource &source, const Anope::string &msg)
{
// TODO: remove support for the draft tag when other software catches up.
Anope::map<Anope::string> tags;
if (!source.msgid.empty())
tags["+draft/reply"] = source.msgid;
tags["+draft/reply"] = tags["+reply"] = source.msgid;
SendMessageInternal(*source.service, this, msg, tags);
}