fix: secret schema uses full handle

This commit is contained in:
Evangelos Paterakis 2022-11-16 23:20:44 +02:00
parent ee19df79fe
commit dde88311c2
No known key found for this signature in database
GPG key ID: FE5185F095BFC8C9
2 changed files with 6 additions and 2 deletions

View file

@ -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)

View file

@ -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;
}