Revert "Add isLocation to ComposerEvent analytics events" (#11190)
This reverts commit 739a0c7afbcc6ab8fb0dd0ed0c5faba45a51259c.
This commit is contained in:
parent
1a2d201863
commit
3ad9a8fe3b
3 changed files with 0 additions and 4 deletions
|
@ -308,7 +308,6 @@ class EditMessageComposer extends React.Component<IEditMessageComposerProps, ISt
|
||||||
PosthogAnalytics.instance.trackEvent<ComposerEvent>({
|
PosthogAnalytics.instance.trackEvent<ComposerEvent>({
|
||||||
eventName: "Composer",
|
eventName: "Composer",
|
||||||
isEditing: true,
|
isEditing: true,
|
||||||
isLocation: false,
|
|
||||||
inThread: !!editedEvent?.getThread(),
|
inThread: !!editedEvent?.getThread(),
|
||||||
isReply: !!editedEvent.replyEventId,
|
isReply: !!editedEvent.replyEventId,
|
||||||
});
|
});
|
||||||
|
|
|
@ -447,7 +447,6 @@ export class SendMessageComposer extends React.Component<ISendMessageComposerPro
|
||||||
const posthogEvent: ComposerEvent = {
|
const posthogEvent: ComposerEvent = {
|
||||||
eventName: "Composer",
|
eventName: "Composer",
|
||||||
isEditing: false,
|
isEditing: false,
|
||||||
isLocation: false,
|
|
||||||
isReply: !!this.props.replyToEvent,
|
isReply: !!this.props.replyToEvent,
|
||||||
inThread: this.props.relation?.rel_type === THREAD_RELATION_TYPE.name,
|
inThread: this.props.relation?.rel_type === THREAD_RELATION_TYPE.name,
|
||||||
};
|
};
|
||||||
|
|
|
@ -64,7 +64,6 @@ export async function sendMessage(
|
||||||
const posthogEvent: ComposerEvent = {
|
const posthogEvent: ComposerEvent = {
|
||||||
eventName: "Composer",
|
eventName: "Composer",
|
||||||
isEditing: false,
|
isEditing: false,
|
||||||
isLocation: false,
|
|
||||||
isReply: Boolean(replyToEvent),
|
isReply: Boolean(replyToEvent),
|
||||||
// TODO thread
|
// TODO thread
|
||||||
inThread: relation?.rel_type === THREAD_RELATION_TYPE.name,
|
inThread: relation?.rel_type === THREAD_RELATION_TYPE.name,
|
||||||
|
@ -200,7 +199,6 @@ export async function editMessage(
|
||||||
PosthogAnalytics.instance.trackEvent<ComposerEvent>({
|
PosthogAnalytics.instance.trackEvent<ComposerEvent>({
|
||||||
eventName: "Composer",
|
eventName: "Composer",
|
||||||
isEditing: true,
|
isEditing: true,
|
||||||
isLocation: false,
|
|
||||||
inThread: Boolean(editedEvent?.getThread()),
|
inThread: Boolean(editedEvent?.getThread()),
|
||||||
isReply: Boolean(editedEvent.replyEventId),
|
isReply: Boolean(editedEvent.replyEventId),
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue