forked from Telodendria/Telodendria
Add EventRedact() prototype.
This commit is contained in:
parent
b1c23ee53a
commit
a4330123b9
2 changed files with 7 additions and 1 deletions
2
TODO.txt
2
TODO.txt
|
@ -22,7 +22,7 @@ Milestone: v0.4.0
|
|||
[x] Rename Sha2.h to just Sha; add Sha1() function
|
||||
[x] Make Sha256() return raw bytes; add function to
|
||||
convert to hex string.
|
||||
[ ] 8: Rooms
|
||||
[~] 8: Rooms
|
||||
[~] 9: User Data
|
||||
[x] Profiles
|
||||
[~] Directory
|
||||
|
|
|
@ -52,4 +52,10 @@ extern char * EventContentHash(HashMap *);
|
|||
*/
|
||||
extern char * EventIdGet(Room *, HashMap *);
|
||||
|
||||
/**
|
||||
* Redact an event according to the rules for the given
|
||||
* room. The event is modified in place.
|
||||
*/
|
||||
extern int EventRedact(Room *, HashMap *);
|
||||
|
||||
#endif /* TELODENDRIA_EVENT_H */
|
||||
|
|
Loading…
Reference in a new issue