did stick/unstick, freeze/unfreeze, and archive/unarchive topic for three quick wins

This commit is contained in:
2026-01-29 11:36:03 -07:00
parent 3a9542e927
commit a18a7c70f7
6 changed files with 122 additions and 8 deletions
+3
View File
@@ -107,6 +107,9 @@ func setupEcho() *echo.Echo {
confGroup.POST("/r/:topic", ui.AmWrap(PostInTopic), ui.SetTopic)
opsGroup := confGroup.Group("/op/:topic", ui.SetTopic)
opsGroup.GET("/hide", ui.AmWrap(HideTopic))
opsGroup.GET("/freeze", ui.AmWrap(FreezeTopic))
opsGroup.GET("/archive", ui.AmWrap(ArchiveTopic))
opsGroup.GET("/stick", ui.AmWrap(StickTopic))
opsGroup.GET("/hide/:msg", ui.AmWrap(HideMessage))
opsGroup.GET("/scribble/:msg", ui.AmWrap(ScribbleMessage))
opsGroup.GET("/nuke/:msg", ui.AmWrap(NukeMessage))