/* GoToSocial Copyright (C) 2021 GoToSocial Authors admin@gotosocial.org This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ package account import "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" func (p *processor) Delete(account *gtsmodel.Account) error { // TODO in this function: // 1. Delete account's application(s), clients, and oauth tokens // 2. Delete account's blocks // 3. Delete account's emoji // 4. Delete account's follow requests // 5. Delete account's follows // 6. Delete account's follow requests // 7. Delete account's media attachments // 8. Delete account's mentions // 9. Delete account's notifications // 10. Delete account's polls // 11. Delete account's statuses // 12. Delete account's bookmarks // 13. Delete account's faves // 14. Delete account's mutes // 15. Delete account's streams // 16. Delete account's tags // 17. Delete account's user // 18. Delete account's timeline return nil }