mirror of
https://github.com/TakeV-Lambda/Tooth.git
synced 2024-11-02 14:04:14 +00:00
fix: secret schema uses full handle
This commit is contained in:
parent
ee19df79fe
commit
dde88311c2
2 changed files with 6 additions and 2 deletions
|
@ -18,10 +18,14 @@ public class Tooth.InstanceAccount : API.Account, Streamable {
|
|||
|
||||
public HashMap<Type,Type> type_overrides = new HashMap<Type,Type> ();
|
||||
|
||||
public new string handle {
|
||||
public new string handle_short {
|
||||
owned get { return @"@$username"; }
|
||||
}
|
||||
|
||||
public new string handle {
|
||||
owned get { return @"@$username@$domain"; }
|
||||
}
|
||||
|
||||
public bool is_active {
|
||||
get {
|
||||
if (accounts.active == null)
|
||||
|
|
|
@ -81,7 +81,7 @@ public class Tooth.Views.Sidebar : Box, AccountHolder {
|
|||
|
||||
if (account != null) {
|
||||
title.label = account.display_name;
|
||||
subtitle.label = account.handle;
|
||||
subtitle.label = account.handle_short;
|
||||
avatar.account = account;
|
||||
account_items.model = account.known_places;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue