mirror of
https://github.com/tulir/mautrix-whatsapp
synced 2024-12-14 01:14:29 +01:00
Don't send read receipts for errored messages
This commit is contained in:
parent
e81acef840
commit
8b7abe6f7d
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ const (
|
||||||
`
|
`
|
||||||
getMessagesBetweenQuery = `
|
getMessagesBetweenQuery = `
|
||||||
SELECT chat_jid, chat_receiver, jid, mxid, sender, timestamp, sent, type, error, broadcast_list_jid FROM message
|
SELECT chat_jid, chat_receiver, jid, mxid, sender, timestamp, sent, type, error, broadcast_list_jid FROM message
|
||||||
WHERE chat_jid=$1 AND chat_receiver=$2 AND timestamp>$3 AND timestamp<=$4 AND sent=true ORDER BY timestamp ASC
|
WHERE chat_jid=$1 AND chat_receiver=$2 AND timestamp>$3 AND timestamp<=$4 AND sent=true AND error='' ORDER BY timestamp ASC
|
||||||
`
|
`
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue