mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 21:05:10 +00:00
[ADD/FIX] XMPP->Matrix mod, fix PL issue
This commit is contained in:
parent
3c26ee6d22
commit
e7c44a05e2
7 changed files with 106 additions and 21 deletions
|
|
@ -73,7 +73,19 @@ extern char * XMPPGetRetractedID(XMLElement *);
|
|||
/* Get the replied-to stanza ID, if existent. */
|
||||
extern char * XMPPGetReply(XMLElement *elem);
|
||||
|
||||
/* Generate the B64-encoded SHA-256 hash for the 'ver' field in caps. */
|
||||
/** Get the moderated message ID(as a stanza ID/plain ID) from a moderation
|
||||
* stanza, that lives *alongside* the stanza itself.
|
||||
* ----------------------------------------------------------------------
|
||||
* Returns: The stanza ID[LA:stanza] | NULL
|
||||
* Modifies: NOTHING
|
||||
* See-Also: https://xmpp.org/extensions/xep-0425.html */
|
||||
extern char * XMPPGetModeration(XMLElement *stanza);
|
||||
|
||||
/** Generate the B64-encoded SHA-256 hash for the 'ver' field in caps.
|
||||
* --------
|
||||
* Returns: A base64 encoded ver hash[LA:HEAP]
|
||||
* Modifies: NOTHING
|
||||
* See-Also: https://xmpp.org/extensions/xep-0115.html */
|
||||
extern char * XMPPGenerateVer(void);
|
||||
|
||||
/* Annotates a presence with https://xmpp.org/extensions/xep-0115.html */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue