summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-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"},
}
}