diff options
| -rw-r--r-- | data.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -901,11 +901,11 @@ void timeline_object_add(snac *snac, const char *id, char *msg) | |||
| 901 | { | 901 | { |
| 902 | object_add(id, msg); | 902 | object_add(id, msg); |
| 903 | 903 | ||
| 904 | xs *idx = xs_fmt("%s/timeline.idx", snac->basedir); | 904 | xs *idx = xs_fmt("%s/private.idx", snac->basedir); |
| 905 | index_add(idx, id); | 905 | index_add(idx, id); |
| 906 | 906 | ||
| 907 | if (xs_startswith(id, snac->actor)) { | 907 | if (xs_startswith(id, snac->actor)) { |
| 908 | idx = xs_replace_i(idx, "timeline.", "local."); | 908 | idx = xs_replace_i(idx, "private.", "public."); |
| 909 | index_add(idx, id); | 909 | index_add(idx, id); |
| 910 | } | 910 | } |
| 911 | } | 911 | } |