Profile Images (+ Testing Improvements) #68
Loading…
Reference in New Issue
No description provided.
Delete Branch "profile_images"
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?
Drone Build Status: success
https://build.openprivacy.ca/cwtch.im/libcwtch-go/219
@ -210,6 +210,10 @@ func _startCwtch(appDir string, torPath string) {
LaunchServers()
// Send global settings to the UI...
if application == nil {
we should protect application with a mutex if this is a worry. we access it like 10 lines up, assign it not a lot higher etc. if we're worried about a second thread replacing it that fast, we should have a protection mutex
@ -426,6 +485,10 @@ func unwrap(original *EventProfileEnvelope) *event.Event {
func (eh *EventHandler) startHandlingPeer(onion string) {
eventBus := eh.app.GetEventBus(onion)
// if eventBus == nil {
uncomment?
@ -412,0 +442,4 @@
zone, path := attr.ParseZone(path)
// auto download profile images from contacts...
settings := ReadGlobalSettings()
check if the ret type is CustomProfileImage before mandatorily Reading Globals from FS on eath NewRetValMessageFromPeer?
Drone Build Status: failure
https://build.openprivacy.ca/cwtch.im/libcwtch-go/224
Drone Build Status: failure
https://build.openprivacy.ca/cwtch.im/libcwtch-go/225
95899de0c8
toa9563b615c
Drone Build Status: success
https://build.openprivacy.ca/cwtch.im/libcwtch-go/226
@ -129,0 +139,4 @@
e.Data[constants2.Picture], _ = profile.GetScopedZonedAttribute(attr.LocalScope, attr.FilesharingZone, fmt.Sprintf("%s.path", key))
serializedManifest, _ := profile.GetScopedZonedAttribute(attr.ConversationScope, attr.FilesharingZone, fmt.Sprintf("%s.manifest", key))
profile.ShareFile(key, serializedManifest)
log.Infof("Custom Profile Image: %v %s", e.Data[constants2.Picture], serializedManifest)
debug
Drone Build Status: success
https://build.openprivacy.ca/cwtch.im/libcwtch-go/227