Chat im Match: Match-Chat und Team-Chat in Tabs, Zuschauer ausgeschlossen, nach Matchende nur lesbar

This commit is contained in:
mregosar committed 2026-10-29 22:44:17 +01:00
1 parent e26c736f2e
commit c820ba9f12
8 files changed
+267

No files matched your search

+2
View File
@@ -12,6 +12,7 @@ import SeriesList from '../components/SeriesList.jsx';
import EventLog from '../components/EventLog.jsx';
import MapImage from '../components/MapImage.jsx';
import SelfJoin from '../components/SelfJoin.jsx';
import ChatBox from '../components/ChatBox.jsx';
export default function MatchPage() {
const { id } = useParams();
@@ -137,6 +138,7 @@ export default function MatchPage() {
{viewer.role !== 'public' && (
<div className="match-lower">
{state.chat && <ChatBox chat={state.chat} matchId={id} token={token} playerToken={playerToken} />}
<ServerPanel {...ctx} />
{isOrg && <OrganizerPanel {...ctx} token={token} />}
<EventLog events={state.events} />