๐Ÿ“ฆโž”๐Ÿฆ‹ Store and retrieve files on the Atmosphere
35
fork

Configure Feed

Select the types of activity you want to include in your feed.

stream: sync default cursor to now

Ducky e3433f4c d264caf0

+1 -1
+1 -1
src/commands/stream.sh
··· 15 15 16 16 collection_query="$(atfile.util.build_query_array "wantedCollections" "$collection")" 17 17 did_query="$(atfile.util.build_query_array "wantedDids" "$did")" 18 - cursor_query="$([[ -n "$cursor" ]] && echo "cursor=$cursor&")" 18 + cursor_query="$([[ -n "$cursor" ]] && echo "cursor=$cursor&" || echo "cursor=$(atfile.util.get_date "$_now" "%s")")" 19 19 compress_query="$([[ -n "$compress" ]] && echo "compress=$compress&")" 20 20 21 21 url="$_endpoint_jetstream/subscribe?${collection_query}${did_query}${cursor_query}${compress_query}"