mirror of
https://github.com/tulir/mautrix-whatsapp
synced 2024-11-13 05:21:51 +01:00
Fix update user query
This commit is contained in:
parent
d1bc6871d0
commit
46420c1319
1 changed files with 4 additions and 4 deletions
|
@ -54,10 +54,10 @@ const (
|
|||
`
|
||||
updateUserQuery = `
|
||||
UPDATE "user"
|
||||
SET username=$1, agent=$2, device=$3,
|
||||
management_room=$4, space_room=$5,
|
||||
phone_last_seen=$6, phone_last_pinged=$7, timezone=$8
|
||||
WHERE mxid=$9
|
||||
SET username=$2, agent=$3, device=$4,
|
||||
management_room=$5, space_room=$6,
|
||||
phone_last_seen=$7, phone_last_pinged=$8, timezone=$9
|
||||
WHERE mxid=$1
|
||||
`
|
||||
getUserLastAppStateKeyIDQuery = "SELECT key_id FROM whatsmeow_app_state_sync_keys WHERE jid=$1 ORDER BY timestamp DESC LIMIT 1"
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue