provide event_id in event description

This commit is contained in:
Marc Koch 2025-04-25 16:38:19 +02:00
parent fad27fe7f0
commit 0e2e80529c
Signed by: marc
GPG Key ID: 12406554CFB028B9
1 changed files with 3 additions and 1 deletions

View File

@ -147,12 +147,14 @@ class Event(models.Model):
Create ics string
:return:
"""
uuid = self.uuid.__str__()
c = ICS_Calendar()
e = ICS_Event()
e.uid = self.uuid.__str__()
e.uid = uuid
e.name = self.name
e.begin = self.start
e.end = self.end
e.description = f"Meeting-ID: {uuid}"
c.events.add(e)
return c.serialize()