From e61e8bb21b841666dfeb9cff8e0e7ebabaaeaa37 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 11 Jul 2020 22:01:08 +0100 Subject: [PATCH] More descriptive --- inbox.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/inbox.py b/inbox.py index 20496828e..5b96a53fa 100644 --- a/inbox.py +++ b/inbox.py @@ -1913,11 +1913,11 @@ def inboxUpdateCalendar(baseDir: str, handle: str, postJsonObject: {}) -> None: actor = postJsonObject['actor'] actorNickname = getNicknameFromActor(actor) actorDomain, actorPort = getDomainFromActor(actor) + handleNickname = handle.split('@')[0] + handleDomain = handle.split('@')[1] if not receivingCalendarEvents(baseDir, - handle.split('@')[0], - handle.split('@')[1], - actorNickname, - actorDomain): + handleNickname, handleDomain, + actorNickname, actorDomain): return for tagDict in postJsonObject['object']['tag']: if tagDict['type'] != 'Event':