From 5147897c6c8ba3428ea6998f77241182ee8caa24 Mon Sep 17 00:00:00 2001 From: r Date: Sat, 17 Dec 2022 08:26:51 +0000 Subject: Add support for expiring mutes --- renderer/model.go | 5 +++++ renderer/renderer.go | 1 + 2 files changed, 6 insertions(+) (limited to 'renderer') 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 { -- cgit v1.2.3