manager->getRoomByToken($share->getSharedWith(), $this->userId); } catch (RoomNotFoundException $e) { return $result; } $result['share_with_displayname'] = $room->getDisplayName($this->userId); return $result; } }