Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable chat in onlyoffce #6540

Closed
micbar opened this issue Jun 16, 2023 · 0 comments · Fixed by #6544
Closed

Disable chat in onlyoffce #6540

micbar opened this issue Jun 16, 2023 · 0 comments · Fixed by #6544
Assignees
Labels
Category:Enhancement Add new functionality Priority:p1-urgent Consider a hotfix release with only that fix Topic:Security

Comments

@micbar
Copy link
Contributor

micbar commented Jun 16, 2023

Description

We need a config to disable the chat feature in onlyoffice.

Info from onlyoffice

diff --git a/pkg/app/provider/wopi/wopi.go b/pkg/app/provider/wopi/wopi.go
index cf7bd52b..a0214b26 100644
--- a/pkg/app/provider/wopi/wopi.go
+++ b/pkg/app/provider/wopi/wopi.go
@@ -257,6 +257,11 @@ func (p *wopiProvider) GetAppURL(ctx context.Context, resource *provider.Resourc
                urlQuery.Set("ui", language)      // OnlyOffice
                urlQuery.Set("lang", language)    // Collabora
                urlQuery.Set("UI_LLCC", language) // Office365
+
+               // reva edge
+               // this should be configurable and not this hacky
+               urlQuery.Set("dchat", "1") // disable chat
+
                url.RawQuery = urlQuery.Encode()
                appFullURL = url.String()
        }
@micbar micbar converted this from a draft issue Jun 16, 2023
@micbar micbar added Category:Enhancement Add new functionality Priority:p2-high Escalation, on top of current planning, release blocker labels Jun 16, 2023
@micbar micbar moved this from Prio 1 to Prio 2 in Infinite Scale Team Board Jun 16, 2023
@micbar micbar added Priority:p1-urgent Consider a hotfix release with only that fix and removed Priority:p2-high Escalation, on top of current planning, release blocker labels Jun 16, 2023
@micbar micbar moved this from Prio 2 to Prio 1 in Infinite Scale Team Board Jun 16, 2023
@kobergj kobergj self-assigned this Jun 16, 2023
@kobergj kobergj moved this from Prio 1 to In progress in Infinite Scale Team Board Jun 16, 2023
@github-project-automation github-project-automation bot moved this from In progress to Done in Infinite Scale Team Board Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category:Enhancement Add new functionality Priority:p1-urgent Consider a hotfix release with only that fix Topic:Security
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants