mirror of
https://github.com/chatmail/core.git
synced 2026-05-07 08:56:30 +03:00
fix: get_chat_msgs_ex(): Don't match on "S=" (Cmd) in param payload
This commit is contained in:
@@ -3090,7 +3090,7 @@ pub async fn get_chat_msgs_ex(
|
|||||||
WHERE m.chat_id=?
|
WHERE m.chat_id=?
|
||||||
AND m.hidden=0
|
AND m.hidden=0
|
||||||
AND (
|
AND (
|
||||||
m.param GLOB \"*S=*\"
|
m.param GLOB '*\nS=*' OR param GLOB 'S=*'
|
||||||
OR m.from_id == ?
|
OR m.from_id == ?
|
||||||
OR m.to_id == ?
|
OR m.to_id == ?
|
||||||
);",
|
);",
|
||||||
|
|||||||
Reference in New Issue
Block a user