From 601c196a3cd1ec51c7fe16003932d96cdc0448e0 Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Fri, 24 May 2019 00:26:11 -0600 Subject: [PATCH] Send team ID in incoming chat messages --- api/actions/getchat.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/actions/getchat.php b/api/actions/getchat.php index ab16b27..81c2ba4 100644 --- a/api/actions/getchat.php +++ b/api/actions/getchat.php @@ -45,7 +45,8 @@ $database->debug()->select("messages", [ "time", "message", "messages.accountid", - "players.nickname" + "players.nickname", + "players.teamid" ], $where ); $query = ob_get_contents();