mirror of
https://github.com/owncast/owncast.git
synced 2025-01-11 02:57:31 +03:00
10 lines
315 B
TypeScript
10 lines
315 B
TypeScript
import { ConnectedClientInfoEvent } from '../../../interfaces/socket-events';
|
|
|
|
export default function handleConnectedClientInfoMessage(
|
|
message: ConnectedClientInfoEvent,
|
|
setChatDisplayName: (string) => void,
|
|
) {
|
|
const { user } = message;
|
|
const { displayName } = user;
|
|
setChatDisplayName(displayName);
|
|
}
|