feat: add support for custom emojis (NIP-30) (#63)

Reviewed-on: reya/coop#63
This commit is contained in:
2026-10-11 13:22:53 +00:00
parent b4ce9368e2
commit 291471075b
16 changed files with 493 additions and 63 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