BUG found
This commit is contained in:
parent
624f59fb3c
commit
aec8bfc7ba
|
@ -20,6 +20,7 @@ fi
|
|||
########################################################################
|
||||
# Force Strict #swarm0 !!?
|
||||
rm -f /tmp/ipfstryme.*
|
||||
rm -f ~/.zen/A_Qm_swarm.txt
|
||||
liking_me_count=0
|
||||
friend_of_mine_count=0
|
||||
echo $(date)
|
||||
|
@ -57,8 +58,9 @@ do
|
|||
|
||||
# GET $whoisg1 FROM $peerline
|
||||
## Remove Qm ipfs nodes
|
||||
[[ "${ipfsnodeid:0:2}" != "Qm" ]] && whoisg1=$(~/.zen/astrXbian/zen/tools/ipfs_to_g1.py $ipfsnodeid) || echo "$ipfsnodeid" >> ~/.zen/A_Qm_swarm.txt && continue
|
||||
|
||||
[[ "${ipfsnodeid:0:2}" != "Qm" ]] && whoisg1=$(~/.zen/astrXbian/zen/tools/ipfs_to_g1.py $ipfsnodeid)
|
||||
[[ ! $whoisg1 ]] && continue
|
||||
|
||||
# KEEPING LAST ipfstryme MESSAGES only
|
||||
nbmessage=0
|
||||
for messageid in $(~/.zen/astrXbian/zen/jaklis/jaklis.py -k ~/.zen/secret.dunikey -n "https://data.gchange.fr" read -n300 -j | jq -r --arg friendKEY "$whoisg1" '.[] | select(.pubkey == $friendKEY)' | jq 'select(.title == "ipfstryme")' | jq -r '.id')
|
||||
|
|
Loading…
Reference in New Issue