mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 21:25:11 +00:00
[MOD] Verbosity levels, avatar cleanser
I have a weird bug where Parsee seems to hang on a Db request, been tryign to figure that otu since a while but can't quite put my finger on where. You can have this commit, as a treat.
This commit is contained in:
parent
3a60b773c9
commit
692cb8aa6f
19 changed files with 190 additions and 111 deletions
|
|
@ -37,12 +37,10 @@ MatrixCreateMessage(char *body)
|
|||
HashMapSet(map, "msgtype", JsonValueString("m.text"));
|
||||
HashMapSet(map, "body", JsonValueString(body));
|
||||
{
|
||||
/* TODO */
|
||||
XEP393Element *e = XEP393(body);
|
||||
text = XEP393ToXMLString(e);
|
||||
XEP393FreeElement(e);
|
||||
|
||||
|
||||
HashMapSet(map, "formatted_body", JsonValueString(text));
|
||||
HashMapSet(map, "format", JsonValueString("org.matrix.custom.html"));
|
||||
Free(text);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue