aboutsummaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2020-02-08 11:50:14 +0000
committerr <r@freesoftwareextremist.com>2020-02-08 11:50:14 +0000
commita68a09a83ef2eb411e2a7a66e919f27c040c0b6a (patch)
tree12365055d6865c10a5d61f7a81c07987dfbf9f22 /service
parent1e44d5d3d50c850505065ef16bc513a207c0656c (diff)
downloadbloat-a68a09a83ef2eb411e2a7a66e919f27c040c0b6a.tar.gz
bloat-a68a09a83ef2eb411e2a7a66e919f27c040c0b6a.zip
Remove account relationship buttons for logged in user's page
Diffstat (limited to 'service')
-rw-r--r--service/service.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/service/service.go b/service/service.go
index c05097b..d762842 100644
--- a/service/service.go
+++ b/service/service.go
@@ -527,6 +527,7 @@ func (svc *service) ServeUserPage(ctx context.Context, c *model.Client,
data := &renderer.UserData{
User: user,
+ IsCurrent: commonData.IsCurrentUser(user.ID),
Type: pageType,
Users: users,
Statuses: statuses,