ReconnectCwtchForeground should reload Profiles #20

Merged
sarah merged 1 commits from reconnect-fixes into main 2023-04-17 20:23:33 +00:00
Owner
No description provided.
dan was assigned by sarah 2023-04-17 17:53:35 +00:00
sarah added 1 commit 2023-04-17 17:53:35 +00:00
continuous-integration/drone/pr Build is running Details
continuous-integration/drone/push Build is passing Details
f485e372a7
ReconnectCwtchForeground should reload Profiles
Member
Drone Build Status: success https://build.openprivacy.ca/cwtch.im/autobindings/63
dan approved these changes 2023-04-17 20:15:05 +00:00
dan left a comment
Owner

ActivatePeerEngine doesn't rerun but you might want to opt out of hte call at 173ish anyways

// Start up the Profile
			if acnStatus == 100 {
				autostart, exists := profile.GetScopedZonedAttribute(attr.LocalScope, attr.ProfileZone, constants2.PeerAutostart)
				if !exists || autostart == "true" {
					eh.app.ActivatePeerEngine(onion)
				}
			}
            
ActivatePeerEngine doesn't rerun but you might want to opt out of hte call at 173ish anyways ``` // Start up the Profile if acnStatus == 100 { autostart, exists := profile.GetScopedZonedAttribute(attr.LocalScope, attr.ProfileZone, constants2.PeerAutostart) if !exists || autostart == "true" { eh.app.ActivatePeerEngine(onion) } } ```
sarah merged commit f485e372a7 into main 2023-04-17 20:23:33 +00:00
Sign in to join this conversation.
No reviewers
dan
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cwtch.im/autobindings#20
No description provided.