From 18ef5ec4d82b6e3def067b26f5e345ac09ffc9bd Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 23 Dec 2021 15:22:47 +0100 Subject: mod_tombstones: Add some future TODOs --- plugins/mod_tombstones.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'plugins') diff --git a/plugins/mod_tombstones.lua b/plugins/mod_tombstones.lua index 1707c9dd..4d3ce3ab 100644 --- a/plugins/mod_tombstones.lua +++ b/plugins/mod_tombstones.lua @@ -16,6 +16,10 @@ local ttl = module:get_option_number("user_tombstone_expiry", nil); -- There is no way to be completely sure when remote services have -- forgotten and revoked all memberships. +-- TODO If the user left a JID they moved to, return a gone+redirect error +-- TODO Attempt to deregister from MUCs based on bookmarks +-- TODO Unsubscribe from pubsub services if a notification is received + module:hook_global("user-deleted", function(event) if event.host == module.host then local ok, err = graveyard:set(nil, event.username, os.time()); -- cgit v1.2.3