From a981085260af2623bd4988e4b9c0052e2e3035eb Mon Sep 17 00:00:00 2001 From: r Date: Fri, 31 Jan 2020 03:38:49 +0000 Subject: Update user page - Use the same page to display status and user list - Add media only status list --- renderer/model.go | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'renderer/model.go') diff --git a/renderer/model.go b/renderer/model.go index 77e6704..2aa2f22 100644 --- a/renderer/model.go +++ b/renderer/model.go @@ -69,6 +69,8 @@ type NotificationData struct { type UserData struct { *CommonData User *mastodon.Account + Type string + Users []*mastodon.Account Statuses []*mastodon.Status NextLink string DarkMode bool @@ -103,18 +105,6 @@ type RetweetedByData struct { NextLink string } -type FollowingData struct { - *CommonData - Users []*mastodon.Account - NextLink string -} - -type FollowersData struct { - *CommonData - Users []*mastodon.Account - NextLink string -} - type SearchData struct { *CommonData Q string -- cgit v1.2.3