aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-12-23 15:22:47 +0100
committerKim Alvefur <zash@zash.se>2021-12-23 15:22:47 +0100
commit18ef5ec4d82b6e3def067b26f5e345ac09ffc9bd (patch)
tree241421ba4c54a493edcb4326a8c0ded5a584624f
parent7056bc067488cbb01f8ac87f6556c76e16708fe5 (diff)
downloadprosody-18ef5ec4d82b6e3def067b26f5e345ac09ffc9bd.tar.gz
prosody-18ef5ec4d82b6e3def067b26f5e345ac09ffc9bd.zip
mod_tombstones: Add some future TODOs
-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());