mirror of
https://github.com/owncast/owncast.git
synced 2024-12-19 07:44:26 +03:00
9a91324456
* - mock detect when user turns into moderator - add moderator indicator to display on messages and username changer * also mock moderator flag in message payload about user to display indicator * add some menu looking icons and a menu of actions * WIP chat moderators * Add support for admin promoting a user to moderator * WIP- open a more info panel of user+message info; add some a11y to buttons * style the details panel * adjust positioning of menus * Merge fixes. ChatClient->Client ChatServer->Server * Remove moderator bool placeholders to use real state * Support inline hiding of messages by moderators * Support inline banning of chat users * Cleanup linter warnings * Puppeteer tests fail after typing take place * Manually resolve conflicts in chat between moderator feature and develop Co-authored-by: Gabe Kangas <gabek@real-ity.com>
9 lines
213 B
Go
9 lines
213 B
Go
package events
|
|
|
|
import "github.com/owncast/owncast/core/user"
|
|
|
|
// ConnectedClientInfo represents the information about a connected client.
|
|
type ConnectedClientInfo struct {
|
|
Event
|
|
User *user.User `json:"user"`
|
|
}
|