Software /
code /
prosody
Changeset
12117:0c9b64178eda
mod_tombstones: Add some future TODOs
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 23 Dec 2021 15:22:47 +0100 |
parents | 12116:efcf25ad5406 |
children | 12118:30d55809d9a6 |
files | plugins/mod_tombstones.lua |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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());