${INLINE}

This commit is contained in:
qo-op 2020-05-10 06:03:55 +02:00
parent e8be466143
commit cb0e894f1c
1 changed files with 4 additions and 4 deletions

View File

@ -167,8 +167,8 @@ echo "$ISSUER" > ~/.zen/tag/${AAH}/_tag.issuer # TX ISSUER G1PUBKEY OR SSB_MESSA
# g1pub for current G1SSB Node later access...
# Using sha256sum / openssl / natools.py (libsodium)
########################################################################
timestamp=$(date -u +%s%N | cut -b1-13)
keyname="${timestamp}_${AA}.key"
#timestamp=$(date -u +%s%N | cut -b1-13)
keyname="${ZENSOURCE}_${AA}.key"
[[ ! $(ipfs key list | grep -F ${AA}.key) ]] && J0=$(ipfs key gen -t rsa -s 2048 $keyname)
# WRITE BBH for QRCode BB verification
echo "$BBH" > ~/.zen/tag/${AAH}/_tag.BB.sha
@ -421,7 +421,7 @@ if [[ "${PASSENGERNAME}" != "" ]]; then
---
**ZEN=$ZEN($READ/$PARK)**
[:flying_saucer:Le lien ipfs ne fonctionne pas?:sparkle:](http://127.0.0.1:8080/ipns/${J}/CONTRACT.sh)
[:flying_saucer:Essaim IPFS:sparkle:](http://127.0.0.1:8080/ipns/${J}/CONTRACT.sh)
[:sunglasses:**ZenTAG**:heart:DEBUG:pager:](http://127.0.0.1:8080/ipns/$ipfsnodeid/.$ipfsnodeid/TAG/${ZENSOURCE})
@ -442,7 +442,7 @@ echo "$MESSAGE"
INLINE=$(node -p "JSON.stringify(process.env.MESSAGE)")
# echo '{"type":"post", "branch": "'"$msg_branch"'", "root": "'"$msg_root"'", "text":"'"${INLINE}"'","mentions":[{"link":"'"$id"'","name":"'"$name"'","size":"'"$size"'","type":"'"$type"'"},{"link":"#zenbot"},{"link":"#astroport"}]}'
sbotc publish '{"type":"post", "branch": "'"$msg_branch"'", "root": "'"$msg_root"'", "text":"'"${INLINE}"'","mentions":[{"link":"'"$id"'","name":"'"$name"'","size":"'"$size"'","type":"'"$type"'"},{"link":"#zenbot"},{"link":"#astroport"}]}'
sbotc publish '{"type":"post", "branch": "'"$msg_branch"'", "root": "'"$msg_root"'", "text":"'${INLINE}'","mentions":[{"link":"'"$id"'","name":"'"$name"'","size":"'"$size"'","type":"'"$type"'"},{"link":"#zenbot"},{"link":"#astroport"}]}'
else