From 86f18b577a3e490108a4492e21bd0ff9fc19040b Mon Sep 17 00:00:00 2001 From: netkas Date: Thu, 13 Mar 2025 14:12:11 -0400 Subject: [PATCH] Fix error message in EncryptionDeleteChannel to accurately reflect channel deletion https://github.com/nosial/Socialbox-PHP/issues/72 --- .../EncryptionChannel/EncryptionDeleteChannel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Socialbox/Classes/StandardMethods/EncryptionChannel/EncryptionDeleteChannel.php b/src/Socialbox/Classes/StandardMethods/EncryptionChannel/EncryptionDeleteChannel.php index f826d4b..0423a0e 100644 --- a/src/Socialbox/Classes/StandardMethods/EncryptionChannel/EncryptionDeleteChannel.php +++ b/src/Socialbox/Classes/StandardMethods/EncryptionChannel/EncryptionDeleteChannel.php @@ -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();