mirror of
https://github.com/tulir/mautrix-whatsapp
synced 2024-12-14 09:23:51 +01:00
Update whatsmeow
This commit is contained in:
parent
621ecc0d62
commit
031d712905
3 changed files with 4 additions and 4 deletions
2
go.mod
2
go.mod
|
@ -10,7 +10,7 @@ require (
|
|||
github.com/prometheus/client_golang v1.11.1
|
||||
github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e
|
||||
github.com/tidwall/gjson v1.14.0
|
||||
go.mau.fi/whatsmeow v0.0.0-20220308120934-6f1a080a0f04
|
||||
go.mau.fi/whatsmeow v0.0.0-20220309134402-6c95a0dfb20d
|
||||
golang.org/x/image v0.0.0-20220302094943-723b81ca9867
|
||||
golang.org/x/net v0.0.0-20220225172249-27dd8689420f
|
||||
google.golang.org/protobuf v1.27.1
|
||||
|
|
4
go.sum
4
go.sum
|
@ -122,8 +122,8 @@ github.com/tidwall/sjson v1.2.4 h1:cuiLzLnaMeBhRmEv00Lpk3tkYrcxpmbU81tAY4Dw0tc=
|
|||
github.com/tidwall/sjson v1.2.4/go.mod h1:098SZ494YoMWPmMO6ct4dcFnqxwj9r/gF0Etp19pSNM=
|
||||
go.mau.fi/libsignal v0.0.0-20220308120827-0d87a03fd7c7 h1:L09XYQRGJwC6KbJumz3cD/6JTUAPNZHfnu8hroqm1KE=
|
||||
go.mau.fi/libsignal v0.0.0-20220308120827-0d87a03fd7c7/go.mod h1:LjEYzdnRUcRArJJUUHQUfMU1A+WzEM73qBTirXluuaY=
|
||||
go.mau.fi/whatsmeow v0.0.0-20220308120934-6f1a080a0f04 h1:kG1Th8Jb1G36uls1VdgopZvYdZi04OcfEJ9Otg2qkno=
|
||||
go.mau.fi/whatsmeow v0.0.0-20220308120934-6f1a080a0f04/go.mod h1:nH4IwHZf+Ks61nM5p71jZqLXiT0NpG+0uR/WqzCqHH8=
|
||||
go.mau.fi/whatsmeow v0.0.0-20220309134402-6c95a0dfb20d h1:pjPvv93XTsXVFMypsIdSYisbsAPDZLJ4y11XL1sqQ7k=
|
||||
go.mau.fi/whatsmeow v0.0.0-20220309134402-6c95a0dfb20d/go.mod h1:nH4IwHZf+Ks61nM5p71jZqLXiT0NpG+0uR/WqzCqHH8=
|
||||
golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
|
||||
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
|
||||
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
|
||||
|
|
|
@ -2942,7 +2942,7 @@ func (portal *Portal) setTyping(userIDs []id.UserID, state types.ChatPresence) {
|
|||
continue
|
||||
}
|
||||
portal.log.Debugfln("Bridging typing change from %s to chat presence %s", state, user.MXID)
|
||||
err := user.Client.SendChatPresence(state, portal.Key.JID)
|
||||
err := user.Client.SendChatPresence(portal.Key.JID, state, types.ChatPresenceMediaText)
|
||||
if err != nil {
|
||||
portal.log.Warnln("Error sending chat presence:", err)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue