mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-14 03:45:11 +00:00
[MOD] Add width/height information when possible
This commit is contained in:
parent
09d38993bb
commit
d989331716
5 changed files with 103 additions and 3 deletions
|
|
@ -3,6 +3,8 @@
|
|||
|
||||
#include <Cytoplasm/Json.h>
|
||||
|
||||
#include "FileInfo.h"
|
||||
|
||||
/* A simple representation of everything. It is not as complex as
|
||||
* Telodendria's CommonID parser, simply because Parsee does not
|
||||
* need such complexity. */
|
||||
|
|
@ -33,7 +35,7 @@ extern HashMap * MatrixCreateReact(char *event, char *body);
|
|||
extern HashMap * MatrixCreateReplace(char *event, char *body);
|
||||
|
||||
/* Creates the content for a media file. */
|
||||
extern HashMap * MatrixCreateMedia(char *mxc, char *body, char *mime);
|
||||
extern HashMap * MatrixCreateMedia(char *mxc, char *body, char *mime, FileInfo *info);
|
||||
|
||||
/* Creates the content for a m.room.name state event */
|
||||
extern HashMap * MatrixCreateNameState(char *name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue