use short usernames in popup menus

improves upon mastodon#148
This commit is contained in:
sk
2022-12-28 00:58:57 +01:00
parent 6d22a4d014
commit 3cd9020ee0
3 changed files with 15 additions and 11 deletions

View File

@@ -164,6 +164,10 @@ public class Account extends BaseModel{
return '@'+acct;
}
public String getShortUsername() {
return '@'+acct.split("@")[0];
}
@Override
public String toString(){
return "Account{"+