## CHECK IF ASKING FRIEND TW EXISTS

This commit is contained in:
fred 2023-04-04 16:03:10 +02:00
parent 4dd0c1f4d4
commit 04cbd612d9
1 changed files with 4 additions and 0 deletions

View File

@ -397,6 +397,10 @@ echo "" > ~/.zen/tmp/.ipfsgw.bad.twt # TODO move in 20h12.sh
##############################################
if [[ $APPNAME == "friend" ]]; then
## CHECK IF ASKING FRIEND TW EXISTS
ipfs --timeout 60s ls /ipns/${ASTRONAUTENS}
[ $? != 0 ] && echo "BAD VISITOR" && exit 0
g1friend=${WHAT}
stars=${VAL:-1} // Default 1