element-hq / element-meta

Shared/meta documentation and project artefacts for Element clients
75 stars 12 forks source link

Report withheld messages to posthog using `RoomKeysWithheldForUnverifiedDevice` code #2589

Open richvdh opened 3 weeks ago

richvdh commented 3 weeks ago

There is a specific Posthog error code for reporting UTDs that are due to withheld messages: we should (make sure we) use it.

uhoreg commented 2 weeks ago

Looks like we use the right code in EW: https://github.com/element-hq/element-web/blob/83777a6c5788c204782c28bc0f225c4d53b4936b/src/DecryptionFailureTracker.ts#L76