From eda95f3dfe01642de6400ddd2278e637aadd4fa4 Mon Sep 17 00:00:00 2001 From: Agatha Rose Date: Fri, 27 Aug 2021 21:26:26 +0300 Subject: [PATCH] fix system user avatar not being registered --- core/src/main/kotlin/matterlink/config/BaseConfig.kt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/src/main/kotlin/matterlink/config/BaseConfig.kt b/core/src/main/kotlin/matterlink/config/BaseConfig.kt index a358651..2dd780c 100644 --- a/core/src/main/kotlin/matterlink/config/BaseConfig.kt +++ b/core/src/main/kotlin/matterlink/config/BaseConfig.kt @@ -584,6 +584,11 @@ data class BaseConfig(val rootDir: File) { "urlTemplate", urlTemplate, "template for constructing the user avatar url using the uuid" + ), + systemUserAvatar = it.getOrDefault( + "systemUserAvatar", + systemUserAvatar, + "avatar url for the system user" ) ) }