mirror of
https://github.com/kevachat/webapp.git
synced 2025-01-22 12:34:25 +00:00
skip records with meta keys
This commit is contained in:
parent
be25e22896
commit
650f311caa
@ -1113,6 +1113,12 @@ class RoomController extends AbstractController
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Skip values with meta keys
|
||||||
|
if (str_starts_with($data['key'], '_'))
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
// Legacy key format support (protocol v1 contain timestamp in prefix)
|
// Legacy key format support (protocol v1 contain timestamp in prefix)
|
||||||
if (preg_match('/^([\d]+)@([A-z0-9\.\:\[\]]+)/', $data['key'], $matches))
|
if (preg_match('/^([\d]+)@([A-z0-9\.\:\[\]]+)/', $data['key'], $matches))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user