Support sending custom emoji in messages and reactions

This commit is contained in:
2026-10-11 18:11:23 +07:00
parent 6dad27469d
commit c87c789439
13 changed files with 288 additions and 183 deletions
+4 -1
View File
@@ -405,8 +405,11 @@ impl Room {
// Construct a direct message rumor event
// WARNING: never sign and send this event to relays
let mut tags = self.conversation_tags(&replies, sender, cx);
tags.extend(PersonRegistry::emoji_tags(&content, cx));
let mut event = EventBuilder::new(kind, content)
.tags(self.conversation_tags(&replies, sender, cx))
.tags(tags)
.finalize_unsigned(sender);
// Ensure that the ID is set