commit 9a47a7c
default
·
2023-06-28 17:16:58 +0000 UTC
parent e0b870c
Don't discard notes from people we don't follow in mastoapi.
1 files changed,
+2,
-0
+2,
-0
1@@ -1208,10 +1208,12 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path,
2 if (strcmp(type, "Note") != 0 && strcmp(type, "Question") != 0)
3 continue;
4
5+#if 0
6 /* discard notes from people we don't follow with no boosts */
7 if (!following_check(&snac1, xs_dict_get(msg, "attributedTo")) &&
8 object_announces_len(xs_dict_get(msg, "id")) == 0)
9 continue;
10+#endif
11
12 /* discard notes from muted morons */
13 if (is_muted(&snac1, xs_dict_get(msg, "attributedTo")))