This commit is contained in:
qo-op 2020-05-12 04:06:00 +02:00
parent a1c4b051cd
commit c0a9df43dc
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ $g1balance
"
# IF no AVATAR, publish message with QRCode
if [[ ! $(file "/tmp/_g1.avatar.png" | grep 'PNG') ]]; then
sbotc publish '{"type":"post","text":"[Flash QRCode]('"$id"') with [Cesium](https://cesium.app).\n Thank you.","mentions":[{"link":"'"$id"'","name":"'"$name"'","size":'"$size"',"type":"'"$type"'"}]}'
sbotc publish '{"type":"post","text":"![QRCode]('"$id"')\n Scan QRCode with [Cesium](https://cesium.app).\n Thank you\n ONE :heart:","mentions":[{"link":"'"$id"'","name":"'"$name"'","size":'"$size"',"type":"'"$type"'"}]}'
else
# Publish only if new avatar
if [[ $(diff /tmp/_g1.avatar.png ~/.zen/ipfs/.$ipfsnodeid/G1SSB/_g1.avatar.png) ]]; then