Software /
code /
prosody
Diff
plugins/mod_tombstones.lua @ 12117:0c9b64178eda
mod_tombstones: Add some future TODOs
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 23 Dec 2021 15:22:47 +0100 |
parent | 12115:94de6b7596cc |
child | 12438:a698f65df453 |
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());