summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcitrons <citrons@mondecitronne.com>2025-05-30 16:42:48 -0500
committercitrons <citrons@mondecitronne.com>2025-05-30 17:46:50 -0500
commitadb0e3528b40be863bca76b22f4640af4e0dba78 (patch)
tree9905f45df921ce1c5f7e22c08e30ddd48b5697a2
parent7154df4f7bd86fd38aaa00a9bb35f9e97091f168 (diff)
use "gone" for both deleted channels and users
-rw-r--r--server/channel/channel.go2
-rw-r--r--server/user/user.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/server/channel/channel.go b/server/channel/channel.go
index 69f2400..078e377 100644
--- a/server/channel/channel.go
+++ b/server/channel/channel.go
@@ -175,6 +175,6 @@ func (c *Channel) GetInfo() proto.Object {
func (t Tombstone) GetInfo() proto.Object {
return proto.Object {
- "deleted", "", map[string]string {"": t.name},
+ "gone", "", map[string]string {"": t.name, "kind": "channel"},
}
}
diff --git a/server/user/user.go b/server/user/user.go
index 0f20bf1..0a9ae4e 100644
--- a/server/user/user.go
+++ b/server/user/user.go
@@ -105,6 +105,6 @@ func (u *User) GetInfo() proto.Object {
func (t Tombstone) GetInfo() proto.Object {
return proto.Object {
- "gone", "", map[string]string {"": t.name},
+ "gone", "", map[string]string {"": t.name, "kind": "u"},
}
}