Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
feat(web): include chat userId in external action query params (#4968)
John Costa415ee07bcddd
diff --git a/web/components/ui/Content/Content.tsx b/web/components/ui/Content/Content.tsxindex c336c0af26..fabbda3575 100644--- a/web/components/ui/Content/Content.tsx+++ b/web/components/ui/Content/Content.tsx@@ -161,10 +161,13 @@ export const Content: FC = () => {updatedUrl.searchParams.append('instance', currentBrowserWindowUrl);if (currentUser) {- const { displayName } = currentUser;+ const { id, displayName } = currentUser;- // Append url and username to params so the link knows where we came from and who we are.+ // Append url, username and userId to params so the link knows where we+ // came from and who we are. Display names are not unique, so userId+ // gives external actions a stable identifier for the chat user.updatedUrl.searchParams.append('username', displayName);+ updatedUrl.searchParams.append('userId', id);}const fullUrl = updatedUrl.toString();// Overwrite URL with the updated one that includes the params.