[itabashi-don] Show correct acct for alternate domain

This commit is contained in:
kyori19 2018-11-13 23:55:46 +09:00
parent e5f2c0c428
commit d982352ce5
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ data class AccountEntity(@field:PrimaryKey(autoGenerate = true) var id: Long,
get() = "$domain:$accountId"
val fullName: String
get() = "@$username@$domain"
get() = "@$username" + if (domain == "n-sr.org") "@itabashi.0j0.jp" else "@$domain"
override fun equals(other: Any?): Boolean {
if (this === other) return true