diff options
| author | grunfink <grunfink@comam.es> | 2025-05-30 19:43:55 +0200 |
|---|---|---|
| committer | grunfink <grunfink@comam.es> | 2025-05-30 19:43:55 +0200 |
| commit | 706816b4321337d56ff3121186567363b882d01d (patch) | |
| tree | fd2791488024273af9795fe6399f507a78994439 /data.c | |
| parent | f055c8b694a398868d14fd70df61d02429846dae (diff) | |
Added uid, basedir and baseurl to the notify webhook message.
Diffstat (limited to 'data.c')
| -rw-r--r-- | data.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -3534,6 +3534,10 @@ void enqueue_notify_webhook(snac *user, const xs_dict *noti, int retries) /* add more data */ msg = xs_dict_set(msg, "target", user->actor); + msg = xs_dict_set(msg, "uid", user->uid); + msg = xs_dict_set(msg, "basedir", srv_basedir); + msg = xs_dict_set(msg, "baseurl", srv_baseurl); + xs *actor_obj = NULL; if (valid_status(object_get(xs_dict_get(noti, "actor"), &actor_obj)) && actor_obj) |