service/notifications: make notifications Retainable

This commit is contained in:
outfoxxed 2024-07-12 21:25:46 -07:00
parent 609834d8f2
commit e23923d9a2
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E
3 changed files with 19 additions and 2 deletions

View file

@ -105,7 +105,7 @@ void NotificationServer::deleteNotification(
this->idMap.remove(notification->id());
emit this->NotificationClosed(notification->id(), reason);
delete notification;
notification->retainedDestroy();
}
void NotificationServer::tryRegister() {