diff --git a/src/Socialbox/Classes/StandardMethods/EncryptionChannel/EncryptionAcceptChannel.php b/src/Socialbox/Classes/StandardMethods/EncryptionChannel/EncryptionAcceptChannel.php index f2043cc..a5e8254 100644 --- a/src/Socialbox/Classes/StandardMethods/EncryptionChannel/EncryptionAcceptChannel.php +++ b/src/Socialbox/Classes/StandardMethods/EncryptionChannel/EncryptionAcceptChannel.php @@ -87,8 +87,8 @@ { $rpcClient = Socialbox::getExternalSession($encryptionChannel->getCallingPeerAddress()->getDomain()); $rpcClient->encryptionAcceptChannel( - channelUuid: $rpcRequest->getParameter('channel_uuid'), - publicEncryptionKey: $rpcRequest->getParameter('public_encryption_key'), + channelUuid: (string)$rpcRequest->getParameter('channel_uuid'), + publicEncryptionKey: (string)$rpcRequest->getParameter('public_encryption_key'), identifiedAs: $receivingPeer->getAddress() ); }