summaryrefslogtreecommitdiff
path: root/mastoapi.c
diff options
context:
space:
mode:
authorGravatar default2023-05-12 11:56:17 +0200
committerGravatar default2023-05-12 11:56:17 +0200
commitd35c949a134524395b20617855570e8d5f0867af (patch)
tree0bf32f8426e0b758073f2866d322954288319525 /mastoapi.c
parentMinor refactor to msg_note(): the tag list is created here, not in process_ta... (diff)
downloadsnac2-d35c949a134524395b20617855570e8d5f0867af.tar.gz
snac2-d35c949a134524395b20617855570e8d5f0867af.tar.xz
snac2-d35c949a134524395b20617855570e8d5f0867af.zip
Resolve (partially) the issue with mentions without server.
Mastodon (mainly from the API) usually include mentions without server, which is just stupid. This patch tries to resolve these broken mentions in process_tags() by looking for a user name starting with it in the already pre-populated tag list. As of now, this only works if the message is an inReplyTo and the broken mention is the one of the original (attributedTo) poster.
Diffstat (limited to 'mastoapi.c')
0 files changed, 0 insertions, 0 deletions