aboutsummaryrefslogtreecommitdiff
path: root/registry/registry.go
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2023-01-08 13:47:54 +0000
committerJulio Capote <jcapote@gmail.com>2023-01-08 13:47:54 +0000
commitf50a36d5cc69c095ba4a5d4a3d240c5284e2b234 (patch)
treeddb4bb323a1d9a5c6d8c068b7571167112a4c6bc /registry/registry.go
parent9470ad27f2c725ceeaa6ca8c727670d59fdb5588 (diff)
downloadcommunique-f50a36d5cc69c095ba4a5d4a3d240c5284e2b234.tar.gz
summaries and only render if image exists
Diffstat (limited to 'registry/registry.go')
-rw-r--r--registry/registry.go2
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) {