Also log the hidden parent of a dropped message.

This commit is contained in:
default 2022-11-20 16:00:43 +01:00
parent 273390b5bb
commit 78388498e9

2
data.c
View file

@ -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;
}