diff options
Diffstat (limited to 'lib/Listener/UserDeletedListener.php')
-rw-r--r-- | lib/Listener/UserDeletedListener.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Listener/UserDeletedListener.php b/lib/Listener/UserDeletedListener.php index 47ad1b723..c93a106bd 100644 --- a/lib/Listener/UserDeletedListener.php +++ b/lib/Listener/UserDeletedListener.php @@ -64,7 +64,7 @@ class UserDeletedListener implements IEventListener { foreach ($leftRooms as $room) { // We are changing the room type and name so a potential follow up // user with the same user-id can not reopen the one-to-one conversation. - $room->setType(Room::GROUP_CALL, true); + $room->setType(Room::TYPE_GROUP, true); $room->setName($user->getDisplayName(), ''); } } |