diff options
author | Julio Capote <jcapote@gmail.com> | 2023-01-08 13:47:54 +0000 |
---|---|---|
committer | Julio Capote <jcapote@gmail.com> | 2023-01-08 13:47:54 +0000 |
commit | f50a36d5cc69c095ba4a5d4a3d240c5284e2b234 (patch) | |
tree | ddb4bb323a1d9a5c6d8c068b7571167112a4c6bc /registry | |
parent | 9470ad27f2c725ceeaa6ca8c727670d59fdb5588 (diff) | |
download | communique-f50a36d5cc69c095ba4a5d4a3d240c5284e2b234.tar.gz |
summaries and only render if image exists
Diffstat (limited to '')
-rw-r--r-- | registry/registry.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/registry/registry.go b/registry/registry.go index e50c6a5..d5f8bd6 100644 --- a/registry/registry.go +++ b/registry/registry.go @@ -126,7 +126,7 @@ func (r *Registry) Actor(name string) (map[string]interface{}, error) { Bytes: x509.MarshalPKCS1PublicKey(&privKey.PublicKey), }, ) - return views.RenderActor(handler.handlerCfg.Name, r.cfg.Domain, string(pemdata), handler.handlerCfg.AvatarContentType) + return views.RenderActor(handler.handlerCfg.Name, r.cfg.Domain, string(pemdata), handler.handlerCfg.AvatarContentType, handler.handlerCfg.Summary) } func (r *Registry) ActorAvatar(name string) ([]byte, string, error) { |