Compare commits

...
This repository has been archived on 2023-06-16. You can view files and clone it, but cannot push or open issues or pull requests.

5 Commits

Author SHA1 Message Date
Sarah Jamie Lewis 055e1d65a1 Merge pull request 'Update 'README.md'' (#117) from sarah-patch-3 into trunk
continuous-integration/drone/push Build is pending Details
Reviewed-on: #117
Reviewed-by: Dan Ballard <dan@openprivacy.ca>
2023-06-16 21:07:15 +00:00
Sarah Jamie Lewis 8a7c647ea0 Update 'README.md'
continuous-integration/drone/pr Build is pending Details
2023-06-16 21:07:09 +00:00
Sarah Jamie Lewis 5871a2c077 Update 'README.md'
continuous-integration/drone/pr Build is pending Details
2023-06-16 21:05:32 +00:00
Sarah Jamie Lewis ae179fab72 Ensure Block Unknown Connections Settings is Respected on Protocol Engine Restart
continuous-integration/drone/pr Build is running Details
continuous-integration/drone/push Build is passing Details
2023-02-08 13:51:09 -08:00
Sarah Jamie Lewis dd411bd337 Update Android Container
continuous-integration/drone/pr Build is running Details
continuous-integration/drone/push Build is passing Details
2023-01-31 18:34:11 -08:00
3 changed files with 11 additions and 1 deletions

View File

@ -42,7 +42,7 @@ steps:
- make linux
- name: build-android
image: openpriv/android-go-mobile:2023.01
image: openpriv/android-go-mobile:2023.02
volumes:
- name: deps
path: /go

View File

@ -1,3 +1,5 @@
# NOTE: libcwtch-go has been deprecated in favour of [autobindings](https://git.openprivacy.ca/cwtch.im/autobindings). This repository has been archived and is no longer maintained.
# libcwtch-go
C-bindings for the Go Cwtch Library.

View File

@ -611,6 +611,14 @@ func (eh *EventHandler) handleProfileEvent(ev *EventProfileEnvelope) string {
case event.ProtocolEngineCreated:
// TODO this code should be moved into Cwtch during the API officialization...
settings := ReadGlobalSettings()
// ensure that protocol engine respects blocking settings...
if settings.BlockUnknownConnections {
profile.BlockUnknownConnections()
} else {
profile.AllowUnknownConnections()
}
// Now that the Peer Engine is Activated, Share Files
key, exists := profile.GetScopedZonedAttribute(attr.PublicScope, attr.ProfileZone, constants.CustomProfileImageKey)
if exists {