aboutsummaryrefslogtreecommitdiffstats
path: root/identity/identity_stub.go
diff options
context:
space:
mode:
Diffstat (limited to 'identity/identity_stub.go')
-rw-r--r--identity/identity_stub.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/identity/identity_stub.go b/identity/identity_stub.go
index 830cfb99..1bfc18d0 100644
--- a/identity/identity_stub.go
+++ b/identity/identity_stub.go
@@ -44,6 +44,10 @@ func (i *IdentityStub) Id() string {
return i.id
}
+func (i *IdentityStub) HumanId() string {
+ return FormatHumanID(i.Id())
+}
+
func (IdentityStub) Name() string {
panic("identities needs to be properly loaded with identity.ReadLocal()")
}