From c05e52ab8290c1b498dcf41a72c85062385ae797 Mon Sep 17 00:00:00 2001 From: Johannes Marbach Date: Fri, 6 Jan 2023 10:18:05 +0100 Subject: [PATCH] Enable sent receipt for poll start events --- src/components/views/rooms/EventTile.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/rooms/EventTile.tsx b/src/components/views/rooms/EventTile.tsx index 32136018a8..08f8778db8 100644 --- a/src/components/views/rooms/EventTile.tsx +++ b/src/components/views/rooms/EventTile.tsx @@ -322,7 +322,7 @@ export class UnwrappedEventTile extends React.Component // events and pretty much anything that can't be sent by the composer as a message. For // those we rely on local echo giving the impression of things changing, and expect them // to be quick. - const simpleSendableEvents = [EventType.Sticker, EventType.RoomMessage, EventType.RoomMessageEncrypted]; + const simpleSendableEvents = [EventType.Sticker, EventType.RoomMessage, EventType.RoomMessageEncrypted, EventType.PollStart]; if (!simpleSendableEvents.includes(this.props.mxEvent.getType() as EventType)) return false; // Default case