[Server] Serve the e-mail queue through the database interface (#7858)

This commit is contained in:
BruebachL 2026-11-10 12:16:33 +01:00 • committed by GitHub
parent 9087d0d3fe
commit 526d528e96
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 131 additions and 40 deletions

View file

@ -282,6 +282,10 @@ public:
QList<ServerListEntryRecord> getServerListEntries() override;
void recordUptime(const UptimeRecord &record) override;
QList<BootstrapRoomRecord> getBootstrapRooms(int serverId) override;
bool getPendingActivationMails(QList<PendingActivationMailRecord> &mails) override;
bool getPendingPasswordResets(QList<PendingPasswordResetRecord> &resets) override;
bool deleteActivationEmail(const QString &userName) override;
bool markPasswordResetEmailDelivered(const QString &userName, qint64 rowId) override;
bool removeUserAvatar(const QString &userName) override;
// Outcome of removeUserBanner(), so the caller can tell a missing user apart
// from a user who simply has no banner card set.