mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 21:15:11 +00:00
[ADD/MOD] Help/stats and two-way modification
More on the Reverse Ideology!
This commit is contained in:
parent
4bcf1db4ec
commit
8472ada953
13 changed files with 203 additions and 14 deletions
13
src/Events.c
13
src/Events.c
|
|
@ -129,6 +129,19 @@ MatrixGetReply(HashMap *event)
|
|||
"event_id")
|
||||
));
|
||||
}
|
||||
char *
|
||||
MatrixGetEdit(HashMap *event)
|
||||
{
|
||||
if (!event)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return StrDuplicate(JsonValueAsString(
|
||||
JsonGet(event, 3, "content",
|
||||
"m.relates_to", "event_id")
|
||||
));
|
||||
}
|
||||
HashMap *
|
||||
MatrixCreateReplace(char *event, char *body)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue