forked from indymedia/epicyon
Debug
parent
166df22005
commit
351a21b397
3
posts.py
3
posts.py
|
@ -1424,6 +1424,7 @@ def sendToFollowers(session,baseDir: str, \
|
||||||
projectVersion: str) -> None:
|
projectVersion: str) -> None:
|
||||||
"""sends a post to the followers of the given nickname
|
"""sends a post to the followers of the given nickname
|
||||||
"""
|
"""
|
||||||
|
print('sendToFollowers')
|
||||||
if not session:
|
if not session:
|
||||||
print('WARN: No session for sendToFollowers')
|
print('WARN: No session for sendToFollowers')
|
||||||
return
|
return
|
||||||
|
@ -1432,12 +1433,14 @@ def sendToFollowers(session,baseDir: str, \
|
||||||
if debug:
|
if debug:
|
||||||
print('Post is not addressed to followers')
|
print('Post is not addressed to followers')
|
||||||
return
|
return
|
||||||
|
print('Post is addressed to followers')
|
||||||
|
|
||||||
grouped=groupFollowersByDomain(baseDir,nickname,domain)
|
grouped=groupFollowersByDomain(baseDir,nickname,domain)
|
||||||
if not grouped:
|
if not grouped:
|
||||||
if debug:
|
if debug:
|
||||||
print('Post to followers did not resolve any domains')
|
print('Post to followers did not resolve any domains')
|
||||||
return
|
return
|
||||||
|
print('Post to followers resolved domains')
|
||||||
|
|
||||||
# this is after the message has arrived at the server
|
# this is after the message has arrived at the server
|
||||||
clientToServer=False
|
clientToServer=False
|
||||||
|
|
Loading…
Reference in New Issue