Merge pull request #756 from vector-im/dbkr/rageshake_request_in_title
Put rageshake request ID in title of debug log submission
This commit is contained in:
commit
46e429c37b
1 changed files with 6 additions and 1 deletions
|
@ -72,10 +72,15 @@ export function useSubmitRageshake(): {
|
|||
touchInput = String(window.matchMedia("(pointer: coarse)").matches);
|
||||
} catch (e) {}
|
||||
|
||||
let description = opts.rageshakeRequestId
|
||||
? `Rageshake ${opts.rageshakeRequestId}`
|
||||
: "";
|
||||
if (opts.description) description += `: ${opts.description}`;
|
||||
|
||||
const body = new FormData();
|
||||
body.append(
|
||||
"text",
|
||||
opts.description || "User did not supply any additional text."
|
||||
description ?? "User did not supply any additional text."
|
||||
);
|
||||
body.append("app", "matrix-video-chat");
|
||||
body.append(
|
||||
|
|
Loading…
Reference in a new issue