Procházet zdrojové kódy

Added changes coming in 0.2.4

deadtom před 2 týdny
rodič
revize
ddaaf08ff5
1 změnil soubory, kde provedl 47 přidání a 0 odebrání
  1. 47 0
      TODO.md

+ 47 - 0
TODO.md

@@ -3,3 +3,50 @@
 * Add option to set up Kofi subscriber-only awards
 * Add customizable celebration emojis in messages for things like goals and milestones.
 * Add field in Kofi settings for streamer to list other Kofi perks, which will be displayed on the OCB info page.
+
+### v0.2.4 changes
+* https://github.com/owncast/owncast/pull/4362
+Fires a webhook when a user follows.
+Payload:
+```
+{
+  "eventData": {
+    "timestamp": "2025-05-28T11:43:53.103230136+04:00",
+    "id": "o8v_LpBNRz",
+    "name": "john",
+    "username": "john@mastodon.social",
+    "image": ""
+  },
+  "type": "FEDIVERSE_ENGAGEMENT_FOLLOW"
+}
+```
+* https://github.com/owncast/owncast/pull/4410
+Adds server status to all webhook event data. Might be able to shave off some code.
+Old payload:
+```
+{
+  "type": "USER_JOINED",
+  "eventData": {
+    "user": {...},
+    "timestamp": "2023-01-01T00:00:00Z"
+  }
+}
+```
+New payload:
+```
+{
+  "type": "USER_JOINED", 
+  "eventData": {
+    "user": {...},
+    "timestamp": "2023-01-01T00:00:00Z",
+    "status": {
+      "online": true,
+      "viewerCount": 5,
+      "streamTitle": "My Stream",
+      "versionNumber": "1.2.3",
+      ...
+    },
+    "serverURL": "https://myinstance.example.com"
+  }
+}
+```