Fix error message in EncryptionDeleteChannel to accurately reflect channel deletion

https://github.com/nosial/Socialbox-PHP/issues/72
This commit is contained in:
netkas 2025-03-13 14:12:11 -04:00
parent c0a1aec7f7
commit 86f18b577a
Signed by: netkas
GPG key ID: 4D8629441B76E4CC

View file

@ -58,7 +58,7 @@
}
catch(DatabaseOperationException $e)
{
throw new StandardRpcException('An error occurred while trying to close the encryption channel', StandardError::INTERNAL_SERVER_ERROR, $e);
throw new StandardRpcException('An error occurred while trying to delete the encryption channel', StandardError::INTERNAL_SERVER_ERROR, $e);
}
$externalPeer = $encryptionChannel->getExternalPeer();