Cast channel UUID and public encryption key to string in EncryptionAcceptChannel
https://github.com/nosial/Socialbox-PHP/issues/14
This commit is contained in:
parent
ba99c62e6a
commit
5109796f76
1 changed files with 2 additions and 2 deletions
|
@ -87,8 +87,8 @@
|
||||||
{
|
{
|
||||||
$rpcClient = Socialbox::getExternalSession($encryptionChannel->getCallingPeerAddress()->getDomain());
|
$rpcClient = Socialbox::getExternalSession($encryptionChannel->getCallingPeerAddress()->getDomain());
|
||||||
$rpcClient->encryptionAcceptChannel(
|
$rpcClient->encryptionAcceptChannel(
|
||||||
channelUuid: $rpcRequest->getParameter('channel_uuid'),
|
channelUuid: (string)$rpcRequest->getParameter('channel_uuid'),
|
||||||
publicEncryptionKey: $rpcRequest->getParameter('public_encryption_key'),
|
publicEncryptionKey: (string)$rpcRequest->getParameter('public_encryption_key'),
|
||||||
identifiedAs: $receivingPeer->getAddress()
|
identifiedAs: $receivingPeer->getAddress()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue