Allow reminders

main
Bob Mottram 2020-07-11 23:39:30 +01:00
parent e007168cd6
commit e94a580748
1 changed files with 3 additions and 0 deletions

View File

@ -15,6 +15,9 @@ def receivingCalendarEvents(baseDir: str, nickname: str, domain: str,
"""Returns true if receiving calendar events from the given """Returns true if receiving calendar events from the given
account from following.txt account from following.txt
""" """
if followingNickname == nickname and followingDomain == domain:
# reminder post
return True
calendarFilename = baseDir + '/accounts/' + \ calendarFilename = baseDir + '/accounts/' + \
nickname + '@' + domain + '/followingCalendar.txt' nickname + '@' + domain + '/followingCalendar.txt'
handle = followingNickname + '@' + followingDomain handle = followingNickname + '@' + followingDomain