Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
Fix invalid field name
Gabe Kangas3b6c24b69296
diff --git a/core/chat/persistence.go b/core/chat/persistence.goindex ad4ab6264b..d50bb06c68 100644--- a/core/chat/persistence.go+++ b/core/chat/persistence.go@@ -309,7 +309,7 @@ func SetMessageVisibilityForUserID(userID string, visible bool) error {// Get a list of IDs to send to the connected clients to hideids := make([]string, 0)- query := fmt.Sprintf("SELECT messages.id, user_id, body, title, subtitle, image, link, eventType, hidden_at, timestamp, display_name, display_color, created_at, disabled_at, previous_names, namechanged_at, authenticated, scopes, type FROM messages INNER JOIN users ON messages.user_id = users.id WHERE user_id IS '%s'", userID)+ query := fmt.Sprintf("SELECT messages.id, user_id, body, title, subtitle, image, link, eventType, hidden_at, timestamp, display_name, display_color, created_at, disabled_at, previous_names, namechanged_at, authenticated_at, scopes, type FROM messages INNER JOIN users ON messages.user_id = users.id WHERE user_id IS '%s'", userID)messages := getChat(query)if len(messages) == 0 {