Remove any id ending

merge-requests/26/head
Bob Mottram 2021-10-18 20:43:42 +01:00
parent 5161e6c806
commit 5c88c04162
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ def _storeLastPostId(baseDir: str, nickname: str, domain: str,
postId = removeIdEnding(postJsonObject['object']['id'])
if not actor:
actor = postJsonObject['actor']
postId = postJsonObject['id']
postId = removeIdEnding(postJsonObject['id'])
if not actor:
return
lastpostDir = acctDir(baseDir, nickname, domain) + '/lastpost'