merge-requests/21/head
Bob Mottram 2021-03-06 19:41:39 +00:00
parent 3cd11b73cf
commit b67063113e
1 changed files with 2 additions and 0 deletions

View File

@ -166,6 +166,8 @@ def _htmlCalendarDay(personCache: {}, cssCache: {}, translate: {},
# prepend a link to the sender of the calendar item # prepend a link to the sender of the calendar item
if senderName and eventDescription: if senderName and eventDescription:
# if the sender is also mentioned within the event
# description then this is a reminder
senderActor2 = senderActor.replace('/users/', '/@') senderActor2 = senderActor.replace('/users/', '/@')
if senderActor not in eventDescription and \ if senderActor not in eventDescription and \
senderActor2 not in eventDescription: senderActor2 not in eventDescription: