aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/mod_tombstones.lua4
1 files changed, 4 insertions, 0 deletions
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());