Add Global Chat Options

Add Global Chat Options

1. emoji
2. Poll
3. Delete message
4. Edit message
This commit is contained in:
novgorodschi catalin
2026-09-09 11:49:59 +03:00
parent 009bba0ce6
commit 483f0ae30c
8 changed files with 1052 additions and 35 deletions
@@ -75,6 +75,12 @@ trait DatabaseConnectionCore {
}
if ($this->dblink instanceof \mysqli) {
// FIX (Faza 2 Global Chat, 09.09.2026): fara asta, conexiunea foloseste
// charset-ul implicit al serverului MySQL, care poate sa nu fie utf8mb4 -
// emoji-urile (caractere pe 4 octeti) ar pica cu eroare sau ar fi trunchiate
// silentios la INSERT in chat_global.msg (acum utf8mb4). utf8mb4 e superset
// peste utf8, deci restul tabelelor (ramase utf8) nu sunt afectate negativ.
@mysqli_set_charset($this->dblink, 'utf8mb4');
return true;
}