|
|
|
@ -44,7 +44,6 @@ static id<PEPPassphraseProviderProtocol> s_passphraseProvider = nil;
|
|
|
|
|
|
|
|
|
|
static BOOL s_echoProtocolEnabled = YES;
|
|
|
|
|
static BOOL s_echoInOutgoingMessageRatingPreviewEnabled = YES;
|
|
|
|
|
static id<PEPNotifyHandshakeDelegate> s_echoOutgoinRatingChangeDelegate = nil;
|
|
|
|
|
|
|
|
|
|
static NSArray<PEPMediaKeyPair *> *s_mediaKeys = nil;
|
|
|
|
|
|
|
|
|
@ -127,11 +126,6 @@ static NSArray<PEPMediaKeyPair *> *s_mediaKeys = nil;
|
|
|
|
|
s_echoInOutgoingMessageRatingPreviewEnabled = enabled;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
+ (void)setEchoOutgoingRatingChangeDelegate:(id<PEPNotifyHandshakeDelegate> _Nullable)delegate
|
|
|
|
|
{
|
|
|
|
|
s_echoOutgoinRatingChangeDelegate = delegate;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#pragma mark - Echo Protocol Internal API for Reading
|
|
|
|
|
|
|
|
|
|
+ (BOOL)echoProtocolEnabled
|
|
|
|
@ -144,11 +138,6 @@ static NSArray<PEPMediaKeyPair *> *s_mediaKeys = nil;
|
|
|
|
|
return s_echoInOutgoingMessageRatingPreviewEnabled;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
+ (id<PEPNotifyHandshakeDelegate> _Nullable)echoOutgoingRatingChangeDelegate
|
|
|
|
|
{
|
|
|
|
|
return s_echoOutgoinRatingChangeDelegate;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#pragma mark - Media Keys Public API
|
|
|
|
|
|
|
|
|
|
+ (void)configureMediaKeys:(nonnull NSArray<PEPMediaKeyPair *> *)mediaKeys
|
|
|
|
|