forked from lug/matterbridge
		
	Update Rhymen/go-whatsapp module to latest master (2b8a3e9b8aa2) (#1518)
This commit is contained in:
		
							
								
								
									
										2
									
								
								go.mod
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								go.mod
									
									
									
									
									
								
							@@ -5,7 +5,7 @@ require (
 | 
				
			|||||||
	github.com/Baozisoftware/qrcode-terminal-go v0.0.0-20170407111555-c0650d8dff0f
 | 
						github.com/Baozisoftware/qrcode-terminal-go v0.0.0-20170407111555-c0650d8dff0f
 | 
				
			||||||
	github.com/Jeffail/gabs v1.4.0 // indirect
 | 
						github.com/Jeffail/gabs v1.4.0 // indirect
 | 
				
			||||||
	github.com/Philipp15b/go-steam v1.0.1-0.20200727090957-6ae9b3c0a560
 | 
						github.com/Philipp15b/go-steam v1.0.1-0.20200727090957-6ae9b3c0a560
 | 
				
			||||||
	github.com/Rhymen/go-whatsapp v0.1.2-0.20210407153411-c58e164e05b8
 | 
						github.com/Rhymen/go-whatsapp v0.1.2-0.20210615184944-2b8a3e9b8aa2
 | 
				
			||||||
	github.com/SevereCloud/vksdk/v2 v2.9.2
 | 
						github.com/SevereCloud/vksdk/v2 v2.9.2
 | 
				
			||||||
	github.com/d5/tengo/v2 v2.7.0
 | 
						github.com/d5/tengo/v2 v2.7.0
 | 
				
			||||||
	github.com/davecgh/go-spew v1.1.1
 | 
						github.com/davecgh/go-spew v1.1.1
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										4
									
								
								go.sum
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								go.sum
									
									
									
									
									
								
							@@ -76,8 +76,8 @@ github.com/Philipp15b/go-steam v1.0.1-0.20200727090957-6ae9b3c0a560 h1:ItnC9PEEM
 | 
				
			|||||||
github.com/Philipp15b/go-steam v1.0.1-0.20200727090957-6ae9b3c0a560/go.mod h1:o38AwUFFS4gzbjSoyIgrZ1h9UeDrKwcci1Pj6baifvI=
 | 
					github.com/Philipp15b/go-steam v1.0.1-0.20200727090957-6ae9b3c0a560/go.mod h1:o38AwUFFS4gzbjSoyIgrZ1h9UeDrKwcci1Pj6baifvI=
 | 
				
			||||||
github.com/PuerkitoBio/goquery v1.4.1/go.mod h1:T9ezsOHcCrDCgA8aF1Cqr3sSYbO/xgdy8/R/XiIMAhA=
 | 
					github.com/PuerkitoBio/goquery v1.4.1/go.mod h1:T9ezsOHcCrDCgA8aF1Cqr3sSYbO/xgdy8/R/XiIMAhA=
 | 
				
			||||||
github.com/PuerkitoBio/goquery v1.5.1/go.mod h1:GsLWisAFVj4WgDibEWF4pvYnkVQBpKBKeU+7zCJoLcc=
 | 
					github.com/PuerkitoBio/goquery v1.5.1/go.mod h1:GsLWisAFVj4WgDibEWF4pvYnkVQBpKBKeU+7zCJoLcc=
 | 
				
			||||||
github.com/Rhymen/go-whatsapp v0.1.2-0.20210407153411-c58e164e05b8 h1:jqbWlca7CrvFdc3NygtKVCILnssbRkE7J9gRmY+Olc4=
 | 
					github.com/Rhymen/go-whatsapp v0.1.2-0.20210615184944-2b8a3e9b8aa2 h1:xEhWgQl3hCOtFph6nWpTjVgAdPmAk0zUTENPDb3HJ7Y=
 | 
				
			||||||
github.com/Rhymen/go-whatsapp v0.1.2-0.20210407153411-c58e164e05b8/go.mod h1:DNSFRLFDFIqm2+0aJzSOVfn25020vldM4SRqz6YtLgI=
 | 
					github.com/Rhymen/go-whatsapp v0.1.2-0.20210615184944-2b8a3e9b8aa2/go.mod h1:DNSFRLFDFIqm2+0aJzSOVfn25020vldM4SRqz6YtLgI=
 | 
				
			||||||
github.com/RoaringBitmap/roaring v0.4.23/go.mod h1:D0gp8kJQgE1A4LQ5wFLggQEyvDi06Mq5mKs52e1TwOo=
 | 
					github.com/RoaringBitmap/roaring v0.4.23/go.mod h1:D0gp8kJQgE1A4LQ5wFLggQEyvDi06Mq5mKs52e1TwOo=
 | 
				
			||||||
github.com/RoaringBitmap/roaring v0.5.1/go.mod h1:D0gp8kJQgE1A4LQ5wFLggQEyvDi06Mq5mKs52e1TwOo=
 | 
					github.com/RoaringBitmap/roaring v0.5.1/go.mod h1:D0gp8kJQgE1A4LQ5wFLggQEyvDi06Mq5mKs52e1TwOo=
 | 
				
			||||||
github.com/SevereCloud/vksdk/v2 v2.9.2 h1:+6s5w18VtWeGzsad8tRcraDGRPxgvuMtEPlRg7NrDM4=
 | 
					github.com/SevereCloud/vksdk/v2 v2.9.2 h1:+6s5w18VtWeGzsad8tRcraDGRPxgvuMtEPlRg7NrDM4=
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										3
									
								
								vendor/github.com/Rhymen/go-whatsapp/message.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								vendor/github.com/Rhymen/go-whatsapp/message.go
									
									
									
										generated
									
									
										vendored
									
									
								
							@@ -72,7 +72,8 @@ func (wac *Conn) Send(msg interface{}) (string, error) {
 | 
				
			|||||||
	default:
 | 
						default:
 | 
				
			||||||
		return "ERROR", fmt.Errorf("cannot match type %T, use message types declared in the package", msg)
 | 
							return "ERROR", fmt.Errorf("cannot match type %T, use message types declared in the package", msg)
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
						status := proto.WebMessageInfo_PENDING
 | 
				
			||||||
 | 
						msgProto.Status = &status
 | 
				
			||||||
	ch, err := wac.sendProto(msgProto)
 | 
						ch, err := wac.sendProto(msgProto)
 | 
				
			||||||
	if err != nil {
 | 
						if err != nil {
 | 
				
			||||||
		return "ERROR", fmt.Errorf("could not send proto: %v", err)
 | 
							return "ERROR", fmt.Errorf("could not send proto: %v", err)
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2
									
								
								vendor/github.com/Rhymen/go-whatsapp/session.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/github.com/Rhymen/go-whatsapp/session.go
									
									
									
										generated
									
									
										vendored
									
									
								
							@@ -18,7 +18,7 @@ import (
 | 
				
			|||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
//represents the WhatsAppWeb client version
 | 
					//represents the WhatsAppWeb client version
 | 
				
			||||||
var waVersion = []int{2, 2110, 10}
 | 
					var waVersion = []int{2, 2121, 6}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
Session contains session individual information. To be able to resume the connection without scanning the qr code
 | 
					Session contains session individual information. To be able to resume the connection without scanning the qr code
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2
									
								
								vendor/modules.txt
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/modules.txt
									
									
									
									
										vendored
									
									
								
							@@ -19,7 +19,7 @@ github.com/Philipp15b/go-steam/protocol/steamlang
 | 
				
			|||||||
github.com/Philipp15b/go-steam/rwu
 | 
					github.com/Philipp15b/go-steam/rwu
 | 
				
			||||||
github.com/Philipp15b/go-steam/socialcache
 | 
					github.com/Philipp15b/go-steam/socialcache
 | 
				
			||||||
github.com/Philipp15b/go-steam/steamid
 | 
					github.com/Philipp15b/go-steam/steamid
 | 
				
			||||||
# github.com/Rhymen/go-whatsapp v0.1.2-0.20210407153411-c58e164e05b8
 | 
					# github.com/Rhymen/go-whatsapp v0.1.2-0.20210615184944-2b8a3e9b8aa2
 | 
				
			||||||
## explicit
 | 
					## explicit
 | 
				
			||||||
github.com/Rhymen/go-whatsapp
 | 
					github.com/Rhymen/go-whatsapp
 | 
				
			||||||
github.com/Rhymen/go-whatsapp/binary
 | 
					github.com/Rhymen/go-whatsapp/binary
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user