Convert to new ScopedZone Interface #34
Loading…
Reference in New Issue
No description provided.
Delete Branch "scopezone"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Convert to new ScopedZone Interfaceto WIP: Convert to new ScopedZone InterfaceWIP: Convert to new ScopedZone Interfaceto Convert to new ScopedZone InterfaceDrone Build Status: success
https://build.openprivacy.ca/cwtch.im/libcwtch-go/99
Drone Build Status: success
https://build.openprivacy.ca/cwtch.im/libcwtch-go/100
50430f0a96
tocc45561dd5
Drone Build Status: success
https://build.openprivacy.ca/cwtch.im/libcwtch-go/101
@ -97,2 +92,2 @@
profile.SetAttribute(attr.GetPublicScope(constants.Name), name)
profile.SetAttribute(attr.GetPublicScope(constants.Picture), ImageToString(NewImage(RandomProfileImage(onion), TypeImageDistro)))
name, _ := profile.GetScopedZonedAttribute(attr.LocalScope, attr.ProfileZone, constants.Name)
profile.SetScopedZonedAttribute(attr.PublicScope, attr.ProfileZone, constants.Name, name)
redundant (see below) also why are we storing name in local and then here copying it to public. why not just have it set it as a public value since its main function is to be fetched and displayed by otherS?
@ -120,3 +116,3 @@
}
nick, exists := profile.GetAttribute(attr.GetPublicScope(constants.Name))
nick, exists := profile.GetScopedZonedAttribute(attr.LocalScope, attr.ProfileZone, constants.Name)
maybe incorporate this step with the above and below?
@ -136,2 +132,3 @@
//tag, _ := profile.GetAttribute(app.AttributeTag)
// Set publicly scopes attributes
profile.SetScopedZonedAttribute(attr.PublicScope, attr.ProfileZone, constants.Name, nick)
redundant?
cc45561dd5
toa3e3c221ca
Drone Build Status: success
https://build.openprivacy.ca/cwtch.im/libcwtch-go/102