add url param

This commit is contained in:
Timo
2025-07-18 12:15:41 +02:00
parent d19d221fd0
commit 0ea737a34d
2 changed files with 10 additions and 0 deletions

View File

@@ -193,6 +193,14 @@ export interface UrlParams {
* The Sentry environment. This is only used in the embedded package of Element Call.
*/
sentryEnvironment: string | null;
/**
* Whether to send a notification when the user joins the call.
* This does all the necessary logic to check if it is actually appropriate to send the notification,
* - is it the first joiner
* - it it a 1:1 room
* - ...
*/
sendNotification: boolean;
}
// This is here as a stopgap, but what would be far nicer is a function that
@@ -329,6 +337,7 @@ export const getUrlParams = (
rageshakeSubmitUrl: parser.getParam("rageshakeSubmitUrl"),
sentryDsn: parser.getParam("sentryDsn"),
sentryEnvironment: parser.getParam("sentryEnvironment"),
sendNotification: parser.getFlagParam("sendNotification"),
};
};