mirror of
https://github.com/element-hq/element-web
synced 2024-11-26 19:26:04 +03:00
Enable sent receipt for poll start events
This commit is contained in:
parent
8628aae410
commit
c05e52ab82
1 changed files with 1 additions and 1 deletions
|
@ -322,7 +322,7 @@ export class UnwrappedEventTile extends React.Component<EventTileProps, IState>
|
|||
// 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
|
||||
|
|
Loading…
Reference in a new issue