Skip to content

Custom emoji support in DMs + gallery quote rendering fix#376

Merged
barrydeen merged 3 commits intomainfrom
shortcodes
Mar 31, 2026
Merged

Custom emoji support in DMs + gallery quote rendering fix#376
barrydeen merged 3 commits intomainfrom
shortcodes

Conversation

@barrydeen
Copy link
Copy Markdown
Owner

Summary

  • Wire custom emoji sets (resolvedEmojis, unicodeEmojis, emoji library) through to DM conversation screens so they appear in the reaction picker
  • Add emoji tags to gift-wrapped DM reactions (NIP-25) so custom emojis render as images instead of raw :shortcode: text in reaction badges
  • Fix gallery events (kind 20/21/22) quoted inside kind 1 notes — use GalleryCard instead of PostCard so media actually loads

Test plan

  • Open a DM conversation, long-press a message, tap the react button — custom emoji sets should appear in the picker
  • React with a custom emoji — the reaction badge should show the emoji image, not the shortcode text
  • View a kind 1 note that quotes a gallery event — the gallery media should render inline with full media pager

barrydeen and others added 3 commits March 30, 2026 21:51
Wire resolvedEmojis, unicodeEmojis, and emoji library through to DM
screens so custom emoji sets appear in the reaction picker. Add emoji
tags to gift-wrapped DM reactions so custom emojis render as images
instead of raw shortcodes in reaction badges.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Gallery events (kind 20/21/22) quoted inside kind 1 notes were falling
through to PostCard which doesn't handle gallery rendering. Check event
kind first and use GalleryCard for gallery events.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@barrydeen barrydeen merged commit aecdf38 into main Mar 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant