diff --git a/zen/ssb_SURVEY_contact.sh b/zen/ssb_SURVEY_contact.sh index 868cfbf..249ebab 100755 --- a/zen/ssb_SURVEY_contact.sh +++ b/zen/ssb_SURVEY_contact.sh @@ -53,7 +53,7 @@ self=$(sbotc whoami | jq -r .id) || exit 1 g1self=$(echo $self | cut -d '@' -f 2 | cut -d '.' -f 1 | base64 -d | base58) self_name=$(sbotc query.read '{"query":[{"$filter":{"value":{"author": "'"$self"'", "content":{"type":"about", "about": "'"$self"'"}}}}]}' | jq -r .value?.content?.name | grep -v null | tail -n 1) -messages=$(sbotc messagesByType '{"type":"contact"') +messages=$(sbotc messagesByType '{"type":"contact"}') while read -r msg do