Revert "Add isLocation to ComposerEvent analytics events" (#11190)

This reverts commit 739a0c7afbcc6ab8fb0dd0ed0c5faba45a51259c.
This commit is contained in:
Andy Balaam 2023-07-04 17:39:47 +01:00 committed by GitHub
parent 1a2d201863
commit 3ad9a8fe3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 4 deletions

View file

@ -64,7 +64,6 @@ export async function sendMessage(
const posthogEvent: ComposerEvent = {
eventName: "Composer",
isEditing: false,
isLocation: false,
isReply: Boolean(replyToEvent),
// TODO thread
inThread: relation?.rel_type === THREAD_RELATION_TYPE.name,
@ -200,7 +199,6 @@ export async function editMessage(
PosthogAnalytics.instance.trackEvent<ComposerEvent>({
eventName: "Composer",
isEditing: true,
isLocation: false,
inThread: Boolean(editedEvent?.getThread()),
isReply: Boolean(editedEvent.replyEventId),
});