support sending messages with @silent prefix

This commit is contained in:
ouwou committed 2023-06-24 16:48:44 -04:00
1 parent ed1f54d1a7
commit 2da021b5ea
6 files changed
+43 -13

No files matched your search

+1
View File
@@ -308,6 +308,7 @@ void to_json(nlohmann::json &j, const HeartbeatMessage &m) {
void to_json(nlohmann::json &j, const CreateMessageObject &m) {
j["content"] = m.Content;
j["flags"] = m.Flags;
JS_IF("message_reference", m.MessageReference);
JS_IF("nonce", m.Nonce);
}