Skip to content

Commit

Permalink
Merge pull request element-hq#1137 from robintown/call-backend-full-mesh
Browse files Browse the repository at this point in the history
Note the call backend in rageshake and analytics data
  • Loading branch information
robintown authored Jun 23, 2023
2 parents e446039 + 4eadfed commit d2e2d3e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/analytics/PosthogAnalytics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ export enum RegistrationType {
interface PlatformProperties {
appVersion: string;
matrixBackend: "embedded" | "jssdk";
callBackend: "livekit" | "full-mesh";
}

interface PosthogSettings {
Expand Down Expand Up @@ -191,6 +192,7 @@ export class PosthogAnalytics {
return {
appVersion,
matrixBackend: widget ? "embedded" : "jssdk",
callBackend: "full-mesh",
};
}

Expand Down
1 change: 1 addition & 0 deletions src/settings/submit-rageshake.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ export function useSubmitRageshake(): {
body.append("user_agent", userAgent);
body.append("installed_pwa", "false");
body.append("touch_input", touchInput);
body.append("call_backend", "full-mesh");

if (client) {
const userId = client.getUserId();
Expand Down

0 comments on commit d2e2d3e

Please sign in to comment.