remove streamer-specific branding
This commit is contained in:
@@ -108,7 +108,7 @@ function RecoveryCodes({ codes, onContinue }: { codes: string[]; onContinue: ()
|
||||
const url = URL.createObjectURL(blob)
|
||||
const anchor = document.createElement('a')
|
||||
anchor.href = url
|
||||
anchor.download = 'luoxingci-recovery-codes.txt'
|
||||
anchor.download = 'live-component-recovery-codes.txt'
|
||||
anchor.click()
|
||||
URL.revokeObjectURL(url)
|
||||
}
|
||||
|
||||
@@ -1971,8 +1971,8 @@ mod tests {
|
||||
#[test]
|
||||
fn username_and_room_validation_are_canonical() {
|
||||
assert_eq!(
|
||||
normalize_username(" LuoXingCi ").expect("username"),
|
||||
("LuoXingCi".into(), "luoxingci".into())
|
||||
normalize_username(" ExampleStreamer ").expect("username"),
|
||||
("ExampleStreamer".into(), "examplestreamer".into())
|
||||
);
|
||||
assert!(normalize_username("ab").is_err());
|
||||
assert!(normalize_username("bad name").is_err());
|
||||
|
||||
Reference in New Issue
Block a user