# HG changeset patch # User Kim Alvefur # Date 1640269367 -3600 # Node ID 0c9b64178eda65565983293a7c9657fe79c9c737 # Parent efcf25ad5406ba403b6fde0866a7951a59b82a1f mod_tombstones: Add some future TODOs diff -r efcf25ad5406 -r 0c9b64178eda plugins/mod_tombstones.lua --- a/plugins/mod_tombstones.lua Thu Dec 23 15:17:18 2021 +0100 +++ b/plugins/mod_tombstones.lua Thu Dec 23 15:22:47 2021 +0100 @@ -16,6 +16,10 @@ -- 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());