Skip to content

Commit

Permalink
Fix get message query
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Jan 10, 2025
1 parent 8e44686 commit 9ea817f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bridgev2/database/message.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ type Message struct {
const (
getMessageBaseQuery = `
SELECT rowid, bridge_id, id, part_id, mxid, room_id, room_receiver, sender_id, sender_mxid,
timestamp, edit_count, thread_root_id, reply_to_id, reply_to_part_id, metadata
timestamp, edit_count, double_puppeted, thread_root_id, reply_to_id, reply_to_part_id, metadata
FROM message
`
getAllMessagePartsByIDQuery = getMessageBaseQuery + `WHERE bridge_id=$1 AND (room_receiver=$2 OR room_receiver='') AND id=$3`
Expand Down

0 comments on commit 9ea817f

Please sign in to comment.