[ADD/WIP] Two-way replies

Call me Seija Kijin the way I apply my Reverse Ideology.
This commit is contained in:
LDA 2024-06-29 22:00:29 +02:00
commit c5df636bdb
5 changed files with 44 additions and 1 deletions

View file

@ -26,6 +26,9 @@ extern HashMap * MatrixCreateNameState(char *name);
/* Creates a join membership with a specific nickname */
extern HashMap * MatrixCreateNickChange(char *nick);
/* Modifies a hashmap to create a reply event */
extern void MatrixSetReply(HashMap *e, char *event);
/* Get the event ID of the reply if existent */
extern char * MatrixGetReply(HashMap *event);
extern char * MatrixGetEdit(HashMap *event);

View file

@ -70,4 +70,7 @@ extern char * XMPPGetOriginID(XMLElement *);
* is a replacement notice */
extern char * XMPPGetReplacedID(XMLElement *);
/* Get the replied-to stanza ID, if existent. */
extern char * XMPPGetReply(XMLElement *elem);
#endif