forked from indymedia/epicyon
Copy objects
parent
4b28e67a0d
commit
7615022e08
2
posts.py
2
posts.py
|
@ -361,7 +361,7 @@ def sendPost(session,username: str, domain: str, toUsername: str, toDomain: str,
|
||||||
thr=sendThreads[0]
|
thr=sendThreads[0]
|
||||||
thr.stop()
|
thr.stop()
|
||||||
sendThreads.pop(0)
|
sendThreads.pop(0)
|
||||||
thr = threading.Thread(target=threadSendPost,args=(session,postJsonObject,federationList,inboxUrl,signatureHeader),daemon=True)
|
thr = threading.Thread(target=threadSendPost,args=(session,postJsonObject.copy(),federationList,inboxUrl,signatureHeader.copy()),daemon=True)
|
||||||
sendThreads.append(thr)
|
sendThreads.append(thr)
|
||||||
thr.start()
|
thr.start()
|
||||||
return 0
|
return 0
|
||||||
|
|
Loading…
Reference in New Issue