Fix username
This commit is contained in:
parent
4af9362a93
commit
b0b978b7a6
|
@ -48,15 +48,15 @@ export default class AccountAuth extends Vue {
|
|||
ipcRenderer.send(`new-account-setup`, this.instance)
|
||||
}
|
||||
public authCode() {
|
||||
ipcRenderer.send(`new-account-auth`, this.code, this.instance)
|
||||
this.code = ""
|
||||
this.instance = ''
|
||||
ipcRenderer.once(
|
||||
`login-complete`,
|
||||
(e: Event, account: Account) => {
|
||||
this.$emit('login-complete', account)
|
||||
}
|
||||
)
|
||||
ipcRenderer.send(`new-account-auth`, this.code, this.instance)
|
||||
this.code = ""
|
||||
this.instance = ''
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -55,7 +55,7 @@ export default class Welcome extends Vue {
|
|||
public status: Status = 'welcome'
|
||||
|
||||
public loggedIn(account: Account) {
|
||||
this.username = `@${account.acct}@${account.domain}`
|
||||
this.username = `${account.acct}@${account.domain}`
|
||||
this.status = 'select_timeline'
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@ import { join } from "path"
|
|||
type Protocol = 'http' | 'websocket'
|
||||
|
||||
export default class Clients {
|
||||
// Authorized Accounts. keyには`@username@domain`を設定します
|
||||
// Authorized Accounts. keyには`username@domain`を設定します
|
||||
private static authorizedHTTP: Map<string, Mastodon> = new Map()
|
||||
private static authorizedWebSocket: Map<string, Mastodon> = new Map()
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user