[MOD] Use server_base instead of the API host

This wasn't an issue because the server I test on has the same API host
as its name.
This commit is contained in:
LDA 2024-07-26 17:13:02 +02:00
commit dd180ee3f4
10 changed files with 29 additions and 28 deletions

View file

@ -208,7 +208,7 @@ XEP393Decode(StrView view, XEP393Element *root)
span_view.end = subview.start;
Spanify(XEP393_NL);
}
else if (IdentifySpans('>', '\n', subview, &span_view))
else if (sol && IdentifySpans('>', '\n', subview, &span_view))
{
/* TODO: This doesnt work with more than one line of quotes. */
Spanify(XEP393_QUOT);