aboutsummaryrefslogtreecommitdiff
path: root/renderer/model.go
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2020-01-31 03:38:49 +0000
committerr <r@freesoftwareextremist.com>2020-01-31 03:38:49 +0000
commita981085260af2623bd4988e4b9c0052e2e3035eb (patch)
tree8b1f2f35274a2e5fee77f2498f0b7569dca18b7e /renderer/model.go
parent6a6cc744b7d9ed1b57dc2e88cd22e73275d5dcbe (diff)
downloadbloat-a981085260af2623bd4988e4b9c0052e2e3035eb.tar.gz
bloat-a981085260af2623bd4988e4b9c0052e2e3035eb.zip
Update user page
- Use the same page to display status and user list - Add media only status list
Diffstat (limited to 'renderer/model.go')
-rw-r--r--renderer/model.go14
1 files changed, 2 insertions, 12 deletions
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