mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-15 01:55:03 +00:00
Renamed indexes.
timeline.idx to private.idx, local.idx to public.idx.
This commit is contained in:
parent
4a41f3a1f0
commit
87d3ec2acc
1 changed files with 2 additions and 2 deletions
4
data.c
4
data.c
|
@ -901,11 +901,11 @@ void timeline_object_add(snac *snac, const char *id, char *msg)
|
|||
{
|
||||
object_add(id, msg);
|
||||
|
||||
xs *idx = xs_fmt("%s/timeline.idx", snac->basedir);
|
||||
xs *idx = xs_fmt("%s/private.idx", snac->basedir);
|
||||
index_add(idx, id);
|
||||
|
||||
if (xs_startswith(id, snac->actor)) {
|
||||
idx = xs_replace_i(idx, "timeline.", "local.");
|
||||
idx = xs_replace_i(idx, "private.", "public.");
|
||||
index_add(idx, id);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue