mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
account_config: fix defaultModerators serialization
when unserialized, the default moderators is always empty Change-Id: Ie23af56bfcae7de2895ea242df10cc0f926b659e
This commit is contained in:
@ -75,7 +75,8 @@ AccountConfig::serializeDiff(YAML::Emitter& out, const AccountConfig& DEFAULT_CO
|
||||
SERIALIZE_CONFIG(USER_AGENT_KEY, customUserAgent);
|
||||
SERIALIZE_CONFIG(DISPLAY_NAME_KEY, displayName);
|
||||
SERIALIZE_CONFIG(UPNP_ENABLED_KEY, upnpEnabled);
|
||||
SERIALIZE_CONFIG(DEFAULT_MODERATORS_KEY, defaultModerators);
|
||||
out << YAML::Key << DEFAULT_MODERATORS_KEY << YAML::Value
|
||||
<< fmt::format(FMT_COMPILE("{}"), fmt::join(defaultModerators, "/"sv));
|
||||
SERIALIZE_CONFIG(LOCAL_MODERATORS_ENABLED_KEY, localModeratorsEnabled);
|
||||
SERIALIZE_CONFIG(ALL_MODERATORS_ENABLED_KEY, allModeratorsEnabled);
|
||||
SERIALIZE_CONFIG(PROXY_PUSH_TOKEN_KEY, deviceKey);
|
||||
|
Reference in New Issue
Block a user