🐛 show short event_id in description

This commit is contained in:
Marc Koch 2025-04-25 17:56:51 +02:00
parent 4a37e61265
commit 3e5e53a929
Signed by: marc
GPG Key ID: 12406554CFB028B9
2 changed files with 3 additions and 4 deletions

View File

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

View File

@ -1 +1 @@
1.0.3 1.0.4