feat: chat filters cover bios

The server refuses a bio that breaks its filter and hides one saved before.
The client filter now runs on your own card too.
This commit is contained in:
Burrowdev committed 2026-10-17 14:35:29 +03:00
1 parent 89fe4d2a28
commit 80383e8dec
7 files changed
+22 -9

No files matched your search

+3 -2
View File
@@ -155,8 +155,9 @@ package
_loc4_ += 17;
}
}
// A player's bio, the last field of what their card is told.
else if(param1.obj[0] == "xbn" && param1.obj.length > 7 && String(param1.obj[2]).toLowerCase() != String(gMainFrame.server.userName).toLowerCase())
// A player's bio, the last field of what their card is told:
// their own too, so they see it as others do.
else if(param1.obj[0] == "xbn" && param1.obj.length > 7)
{
param1.obj[7] = AJClient.filterOrNote(String(param1.obj[7]));
}