Add isLocation to ComposerEvent analytics events (#11187)

This commit is contained in:
Andy Balaam 2023-07-04 10:10:03 +01:00 committed by GitHub
parent 90b572f074
commit 54ffce9d20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 0 deletions

View file

@ -447,6 +447,7 @@ export class SendMessageComposer extends React.Component<ISendMessageComposerPro
const posthogEvent: ComposerEvent = {
eventName: "Composer",
isEditing: false,
isLocation: false,
isReply: !!this.props.replyToEvent,
inThread: this.props.relation?.rel_type === THREAD_RELATION_TYPE.name,
};