mirror of https://gitlab.com/bashrc2/epicyon
Debug
parent
9c9fb02b41
commit
7bbd67bc9d
|
@ -2000,12 +2000,15 @@ def postIsMuted(baseDir: str,nickname: str,domain: str, messageId: str) -> bool:
|
||||||
"""
|
"""
|
||||||
postDir=baseDir+'/accounts/'+nickname+'@'+domain
|
postDir=baseDir+'/accounts/'+nickname+'@'+domain
|
||||||
muteFilename=postDir+'/inbox/'+messageId.replace('/','#')+'.json.muted'
|
muteFilename=postDir+'/inbox/'+messageId.replace('/','#')+'.json.muted'
|
||||||
|
print('TEST MUTE: '+muteFilename)
|
||||||
if os.path.isfile(muteFilename):
|
if os.path.isfile(muteFilename):
|
||||||
return True
|
return True
|
||||||
muteFilename=postDir+'/outbox/'+messageId.replace('/','#')+'.json.muted'
|
muteFilename=postDir+'/outbox/'+messageId.replace('/','#')+'.json.muted'
|
||||||
|
print('TEST MUTE: '+muteFilename)
|
||||||
if os.path.isfile(muteFilename):
|
if os.path.isfile(muteFilename):
|
||||||
return True
|
return True
|
||||||
muteFilename=baseDir+'/accounts/cache/announce/'+nickname+'/'+messageId.replace('/','#')+'.json.muted'
|
muteFilename=baseDir+'/accounts/cache/announce/'+nickname+'/'+messageId.replace('/','#')+'.json.muted'
|
||||||
|
print('TEST MUTE: '+muteFilename)
|
||||||
if os.path.isfile(muteFilename):
|
if os.path.isfile(muteFilename):
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
|
|
Loading…
Reference in New Issue