Pass args to client

This commit is contained in:
Jorik Schellekens
2020-09-24 11:11:07 +01:00
parent 32c6119243
commit fc052e6fae
6 changed files with 14 additions and 7 deletions
+1
View File
@@ -92,6 +92,7 @@ export function parseArgs(args: string): Arguments {
vias: params.getAll('via'),
client: bottomExchange(params.get('client')),
sharer: bottomExchange(params.get('sharer')),
originalParams: params,
};
}
+2
View File
@@ -4,6 +4,8 @@ export interface Arguments {
client?: string;
// MXID
sharer?: string;
// Original params
originalParams: URLSearchParams;
}
export interface LinkContent {