summaryrefslogtreecommitdiff
path: root/server/channel/command.go
diff options
context:
space:
mode:
authorcitrons <citrons@mondecitronne.com>2025-06-12 15:19:56 -0500
committercitrons <citrons@mondecitronne.com>2025-06-12 15:24:48 -0500
commit6e9496323fbdfbe2b60122ce68cf3791ccb2910d (patch)
treee9e88b894b56441b1b5591f626c776224dc0669c /server/channel/command.go
parentececa97d9ee6a435f81756bc25e25ed80285d20b (diff)
object.Tombstone
Diffstat (limited to 'server/channel/command.go')
-rw-r--r--server/channel/command.go17
1 files changed, 0 insertions, 17 deletions
diff --git a/server/channel/command.go b/server/channel/command.go
index 3434326..1171d2f 100644
--- a/server/channel/command.go
+++ b/server/channel/command.go
@@ -262,20 +262,3 @@ func (c *Channel) SendRequest(r session.Request) {
r.ReplyInvalid()
}
}
-
-func (t Tombstone) SendRequest(r session.Request) {
- switch r.Cmd.Kind {
-
- case "update":
- r.Reply(proto.Fail{"bad-target", "", nil}.Cmd())
-
- case "i", "s":
- r.Reply(proto.NewCmd("i", "", t.GetInfo()))
-
- case "u":
- r.ReplyOk()
-
- default:
- r.ReplyInvalid()
- }
-}