Compare commits
6 Commits
Author | SHA1 | Date |
---|---|---|
Sarah Jamie Lewis | 055e1d65a1 | |
Sarah Jamie Lewis | 8a7c647ea0 | |
Sarah Jamie Lewis | 5871a2c077 | |
Sarah Jamie Lewis | ae179fab72 | |
Sarah Jamie Lewis | dd411bd337 | |
Sarah Jamie Lewis | 1d3d2878b7 |
|
@ -42,7 +42,7 @@ steps:
|
|||
- make linux
|
||||
|
||||
- name: build-android
|
||||
image: openpriv/android-go-mobile:2022.11
|
||||
image: openpriv/android-go-mobile:2023.02
|
||||
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 {
|
||||
|
|
Reference in New Issue