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.
3 changed files with
11 additions and
1 deletions
@ -42,7 +42,7 @@ steps:
- make linux
- name : build-android
image : openpriv/android-go-mobile:2023.0 1
image : openpriv/android-go-mobile:2023.0 2
volumes:
- name : deps
path : /go
@ -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.
@ -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 {