forked from MirrorHub/mautrix-whatsapp
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 = `
|
||||
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