mirror of https://gitlab.com/bashrc2/epicyon
Check announce cache for mutes
parent
fc364b68d9
commit
9c9fb02b41
|
@ -2003,6 +2003,9 @@ def postIsMuted(baseDir: str,nickname: str,domain: str, messageId: str) -> bool:
|
|||
if os.path.isfile(muteFilename):
|
||||
return True
|
||||
muteFilename=postDir+'/outbox/'+messageId.replace('/','#')+'.json.muted'
|
||||
if os.path.isfile(muteFilename):
|
||||
return True
|
||||
muteFilename=baseDir+'/accounts/cache/announce/'+nickname+'/'+messageId.replace('/','#')+'.json.muted'
|
||||
if os.path.isfile(muteFilename):
|
||||
return True
|
||||
return False
|
||||
|
|
Loading…
Reference in New Issue