Kaynağa Gözat

Renamed webhook 'inReplyTo' to 'reply'.

grunfink 1 yıl önce
ebeveyn
işleme
f580014c50
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      data.c

+ 1 - 1
data.c

@@ -3550,7 +3550,7 @@ void enqueue_notify_webhook(snac *user, const xs_dict *noti, int retries)
             xs *irt_obj = NULL;
             xs *irt_obj = NULL;
 
 
             if (valid_status(object_get(in_reply_to, &irt_obj)))
             if (valid_status(object_get(in_reply_to, &irt_obj)))
-                msg = xs_dict_set(msg, "inReplyTo", irt_obj);
+                msg = xs_dict_set(msg, "reply", irt_obj);
         }
         }
 
 
         xs *qmsg = _new_qmsg("notify_webhook", msg, retries);
         xs *qmsg = _new_qmsg("notify_webhook", msg, retries);