mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-06-05 18:21:28 +02:00
feat: show all reposts regardless of content
Remove content filtering for reposts - now all kind 6 and 16 events are shown as system messages. Quote reposts (with content) will just display as 'reposted' without showing the quote text, keeping the chat interface clean and consistent.
This commit is contained in:
@@ -817,8 +817,8 @@ export class Nip10Adapter extends ChatProtocolAdapter {
|
||||
}
|
||||
|
||||
// Handle reposts (kind 6, 16) - simple system messages
|
||||
// Ignore reposts with content (quotes)
|
||||
if ((event.kind === 6 || event.kind === 16) && !event.content.trim()) {
|
||||
// Content is ignored even if present (quotes)
|
||||
if (event.kind === 6 || event.kind === 16) {
|
||||
return this.repostToMessage(event, conversationId);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user