Skip to content

Commit

Permalink
better user names in wopi apps
Browse files Browse the repository at this point in the history
  • Loading branch information
micbar committed Sep 28, 2022
1 parent 3fb6add commit 8338cab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions changelog/unreleased/better-usernames.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Bugfix: Use Displayname in wopi apps

We now use the users display name in wopi apps.

https://github.com/cs3org/reva/pull/3282
2 changes: 1 addition & 1 deletion pkg/app/provider/wopi/wopi.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func (p *wopiProvider) GetAppURL(ctx context.Context, resource *provider.Resourc
}

if !isPublicShare {
q.Add("username", u.Username)
q.Add("username", u.DisplayName)
}
}

Expand Down

0 comments on commit 8338cab

Please sign in to comment.