diff options
| author | grunfink <grunfink@comam.es> | 2026-07-12 20:12:03 +0200 |
|---|---|---|
| committer | grunfink <grunfink@comam.es> | 2026-07-12 20:12:03 +0200 |
| commit | 4425d8e985e35cee72acf7b22f50422c8e1ac2a3 (patch) | |
| tree | 7e1b1303beb0d5b5a79332a4e22024424927e309 /data.c | |
| parent | 6032dd0adc34fd1f2a6ddb20aba8ebafbe503367 (diff) | |
Added count of EmojiReacts to top_ten.
Diffstat (limited to 'data.c')
| -rw-r--r-- | data.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1051,6 +1051,14 @@ int object_announces_len(const char *id) } +int object_emojireacts_len(const char *id) +/* returns the number of emojireacts (without reading the index) */ +{ + xs *fn = _object_index_fn(id, "_e.idx"); + return index_len(fn); +} + + xs_list *object_children(const char *id) /* returns the list of an object's children */ { |