snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit 78388498e96910a7c5a61064b23bc77ccb0f31af
parent 273390b5bb3a803bc91f10e03543b60b561ffbcd
Author: default <nobody@localhost>
Date:   Sun, 20 Nov 2022 16:00:43 +0100

Also log the hidden parent of a dropped message.

Diffstat:
Mdata.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data.c b/data.c @@ -445,7 +445,7 @@ int _timeline_write(snac *snac, char *id, char *msg, char *parent, char *referre /* is parent hidden? */ if ((v = xs_dict_get(v, "hidden")) && xs_type(v) == XSTYPE_TRUE) { snac_debug(snac, 1, - xs_fmt("_timeline_write dropping child of hidden parent %s", id)); + xs_fmt("_timeline_write dropping due to hidden parent %s (%s)", id, parent)); return 0; }