Skip to content

Commit

Permalink
Merge pull request #12 from nextcloud/fix-exception-clicking-topmenu
Browse files Browse the repository at this point in the history
Exception: isEnabledForUser function does not accept string as userId
  • Loading branch information
bigcat88 authored Jul 24, 2024
2 parents f81ab72 + 4d84051 commit e7e3811
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- added support of NC30, minimum required NC raised from v27 to v28
- bump js libs

### Fixed
- Exception when clicking on the integration icon in the Top Menu

## 1.0.6 - 2024-03-07
### Changed
- added support of NC29, minimum required NC raised from v25 to v27
Expand Down
2 changes: 1 addition & 1 deletion lib/Controller/PageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public function index(): TemplateResponse {
$apiKey = $this->config->getUserValue($this->userId, Application::APP_ID, 'api_key');
$baseUrl = $this->nuiteqAPIService->getBaseUrl($this->userId);
$userName = $this->config->getUserValue($this->userId, Application::APP_ID, 'user_name');
$talkEnabled = $this->appManager->isEnabledForUser('spreed', $this->userId);
$talkEnabled = $this->appManager->isEnabledForUser('spreed');
$pageInitialState = [
'client_key' => $clientKey,
'api_key' => $apiKey !== '',
Expand Down

0 comments on commit e7e3811

Please sign in to comment.