From 36557da9b8a3287548212d97198d054579376d7b Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Tue, 4 Apr 2023 13:55:11 -0700 Subject: [PATCH] Add Status --- templates/lib_template.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/lib_template.go b/templates/lib_template.go index 81b63c2..6c94017 100644 --- a/templates/lib_template.go +++ b/templates/lib_template.go @@ -298,6 +298,8 @@ func SetProfileAttribute(profileOnion string, key string, value string) { profile.SetScopedZonedAttribute(attr.PublicScope, attr.ProfileZone, constants.ProfileAttribute2, value) } else if zone == attr.ProfileZone && key == constants.ProfileAttribute3 { profile.SetScopedZonedAttribute(attr.PublicScope, attr.ProfileZone, constants.ProfileAttribute3, value) + } else if zone == attr.ProfileZone && key == constants.ProfileStatus { + profile.SetScopedZonedAttribute(attr.PublicScope, attr.ProfileZone, constants.ProfileStatus, value) } else if zone == attr.ProfileZone && key == constants.PeerAutostart { profile.SetScopedZonedAttribute(attr.LocalScope, attr.ProfileZone, constants.PeerAutostart, value) } else {