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:
Till-JS 2026-02-12 14:02:09 +01:00
parent cdb6e25885
commit 650f4f6986

View file

@ -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,