KEEPING LAST ipfstryme MESSAGES only

This commit is contained in:
qo-op 2021-04-03 00:12:34 +02:00
parent 652d80e7d9
commit 8beaadc0c2
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ do
echo "PEERLINE: $peerline"
whoisg1=$(~/.zen/astrXbian/zen/tools/ipfs_to_g1.py $ipfsnodeid)
# REMOVING OLD ipfstryme MESSAGES
# KEEPING LAST ipfstryme MESSAGES only
nbmessage=0
for messageid in $(~/.zen/astrXbian/zen/jaklis/jaklis.py -k ~/.zen/secret.dunikey read -n300 -j | jq -r --arg friendKEY "$whoisg1" '.[] | select(.pubkey == $friendKEY)' | jq 'select(.title == "ipfstryme")' | jq -r '.id')
do