snac2

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

commit 11ba44ff9ffae4f5d71790205ca609d8cf77809c
parent e58eb068fb59ed908dd6630b41e9c6747f04fbd5
Author: default <nobody@localhost>
Date:   Fri, 13 Jan 2023 07:12:19 +0100

Some mention formatting tweaks.

Diffstat:
Mactivitypub.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/activitypub.c b/activitypub.c @@ -277,11 +277,12 @@ void process_tags(snac *snac, const char *content, d_char **n_content, d_char ** if ((n & 0x1)) { if (*v == '@') { /* query the webfinger about this fellow */ + xs *v2 = xs_strip_chars_i(xs_dup(v), "@."); xs *actor = NULL; xs *uid = NULL; int status; - status = webfinger_request(v + 1, &actor, &uid); + status = webfinger_request(v2, &actor, &uid); if (valid_status(status)) { xs *d = xs_dict_new();