mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-16 04:39:39 +02:00
fix(matrix): add missing props to Message.svelte interface
Add isSameSender and isLastInGroup props to fix type-check errors when passing these values from Timeline.svelte. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
cdb6e25885
commit
650f4f6986
1 changed files with 4 additions and 0 deletions
|
|
@ -26,6 +26,8 @@
|
|||
showAvatar?: boolean;
|
||||
showTimestamp?: boolean;
|
||||
showEncryptionBadge?: boolean;
|
||||
isSameSender?: boolean;
|
||||
isLastInGroup?: boolean;
|
||||
onReply?: (message: SimpleMessage) => void;
|
||||
onEdit?: (message: SimpleMessage) => void;
|
||||
onForward?: (message: SimpleMessage) => void;
|
||||
|
|
@ -36,6 +38,8 @@
|
|||
showAvatar = true,
|
||||
showTimestamp = false,
|
||||
showEncryptionBadge = false,
|
||||
isSameSender = false,
|
||||
isLastInGroup = true,
|
||||
onReply,
|
||||
onEdit,
|
||||
onForward,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue