Cast channel UUID and public encryption key to string in EncryptionAcceptChannel

https://github.com/nosial/Socialbox-PHP/issues/14
This commit is contained in:
netkas 2025-03-07 14:56:12 -05:00
parent ba99c62e6a
commit 5109796f76

View file

@ -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()
);
}