Emoji reaction from notification
FossilOrigin-Name: 30c01b16193b7ac92b3ff1c9588e44f3d837fafbbc41162fb0b554b0a5bcd6ae
This commit is contained in:
parent
011d0f500d
commit
f5d35cec7f
2 changed files with 2 additions and 0 deletions
|
@ -26,6 +26,7 @@ struct mstdnt_notification
|
|||
{
|
||||
char* id;
|
||||
char* created_at;
|
||||
char* emoji;
|
||||
struct mstdnt_account* account;
|
||||
struct mstdnt_status* status;
|
||||
mstdnt_notification_t type;
|
||||
|
|
|
@ -55,6 +55,7 @@ int mstdnt_notification_json(struct mstdnt_notification* notif, cJSON* js)
|
|||
struct _mstdnt_val_ref vals[] = {
|
||||
{ "account", &(notif->account), _mstdnt_val_malloc_account_call },
|
||||
{ "created_at", &(notif->created_at), _mstdnt_val_string_call },
|
||||
{ "emoji", &(notif->created_at), _mstdnt_val_string_call },
|
||||
{ "id", &(notif->id), _mstdnt_val_string_call },
|
||||
{ "status", &(notif->status), _mstdnt_val_malloc_status_call },
|
||||
/* { "pleroma", &(notif->pleroma), _mstdnt_val_notif_pleroma_call }, */
|
||||
|
|
Loading…
Reference in a new issue