Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-04-29 12:47:53 +0300
committerJoas Schilling <coding@schilljs.com>2022-04-30 14:09:32 +0300
commite8cf4671684ea6f3d5762dce8d4f34da982d5fb2 (patch)
tree2a50e3f269376727f4d56d4c93a93a027fadaf8f /lib/Command
parent01fb3a6c834d548916032a8441e563b8eb18e147 (diff)
Move Room::verifyPassword() to the RoomService
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Command')
-rw-r--r--lib/Command/Room/TRoomCommand.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Command/Room/TRoomCommand.php b/lib/Command/Room/TRoomCommand.php
index b878fbb2e..154d32edf 100644
--- a/lib/Command/Room/TRoomCommand.php
+++ b/lib/Command/Room/TRoomCommand.php
@@ -175,7 +175,7 @@ trait TRoomCommand {
* @throws InvalidArgumentException
*/
protected function setRoomPassword(Room $room, string $password): void {
- if ($room->hasPassword() ? $room->verifyPassword($password)['result'] : ($password === '')) {
+ if ($room->hasPassword() ? $this->roomService->verifyPassword($room, $password)['result'] : ($password === '')) {
return;
}