aboutsummaryrefslogtreecommitdiff
path: root/renderer
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2022-12-17 08:26:51 +0000
committerr <r@freesoftwareextremist.com>2022-12-17 08:26:51 +0000
commit5147897c6c8ba3428ea6998f77241182ee8caa24 (patch)
treee0177960dfda43c901f5feb458186077f96e4abd /renderer
parent9816045c21957bfda6760ca058eaae97901e3b63 (diff)
downloadbloat-5147897c6c8ba3428ea6998f77241182ee8caa24.tar.gz
bloat-5147897c6c8ba3428ea6998f77241182ee8caa24.zip
Add support for expiring mutes
Diffstat (limited to 'renderer')
-rw-r--r--renderer/model.go5
-rw-r--r--renderer/renderer.go1
2 files changed, 6 insertions, 0 deletions
diff --git a/renderer/model.go b/renderer/model.go
index e7cfbfb..8311f58 100644
--- a/renderer/model.go
+++ b/renderer/model.go
@@ -155,3 +155,8 @@ type FiltersData struct {
*CommonData
Filters []*mastodon.Filter
}
+
+type MuteData struct {
+ *CommonData
+ User *mastodon.Account
+}
diff --git a/renderer/renderer.go b/renderer/renderer.go
index 7afeb14..7732554 100644
--- a/renderer/renderer.go
+++ b/renderer/renderer.go
@@ -33,6 +33,7 @@ const (
SearchPage = "search.tmpl"
SettingsPage = "settings.tmpl"
FiltersPage = "filters.tmpl"
+ MutePage = "mute.tmpl"
)
type TemplateData struct {