This commit is contained in:
Acid Chicken (硫酸鶏) 2018-08-06 23:26:36 +09:00 committed by GitHub
parent d6448fe2e0
commit a64688a189
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,7 +46,8 @@ class Session {
}
private get userName(): string {
return `?[${getUserName(this.user)}](${config.host}/@${this.user.username})${titles.some(x => this.user.username.endsWith(x)) ? '' : 'さん'}`;
const name = getUserName(this.user);
return `?[${name}](${config.host}/@${this.user.username})${titles.some(x => name.endsWith(x)) ? '' : 'さん'}`;
}
private get strength(): number {