(mail) include expiration information in recording notification emails

Add validity duration (number of days valid) to email
notifications for recordings. Informs users about their recording's lifespan,
providing important context about content availability.
This commit is contained in:
lebaudantoine
2025-04-23 16:06:57 +02:00
parent 1a0051a90b
commit 34c14cc516
8 changed files with 34 additions and 9 deletions

View File

@@ -63,6 +63,7 @@ class NotificationService:
"logo_img": settings.EMAIL_LOGO_IMG,
"domain": settings.EMAIL_DOMAIN,
"room_name": recording.room.name,
"recording_expiration_days": settings.RECORDING_EXPIRATION_DAYS,
"link": f"{settings.SCREEN_RECORDING_BASE_URL}/{recording.id}",
}