forked from indymedia/epicyon
Blocking news posts with hashtag interpreter
parent
22fcc7be06
commit
30f4a03b5c
|
@ -261,6 +261,10 @@ def newswireHashtagProcessing(session, baseDir: str, postJsonObject: {},
|
|||
del postJsonObject['object']['tag'][htId]
|
||||
# actionOccurred = True
|
||||
|
||||
# Block this item
|
||||
if actionStr.startswith('block') or actionStr.startswith('drop'):
|
||||
return False
|
||||
|
||||
# TODO
|
||||
# If routing to another instance
|
||||
# sendSignedJson(postJsonObject: {}, session, baseDir: str,
|
||||
|
|
Loading…
Reference in New Issue