4
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2025-07-04 07:47:45 +00:00

Update vendor (whatsapp)

This commit is contained in:
Wim
2022-03-12 23:02:04 +01:00
parent 1b9877fda4
commit aefa70891c
206 changed files with 367071 additions and 164229 deletions

View File

@ -713,7 +713,10 @@ func init() {
num, err := strconv.ParseInt(fields[1], 10, 32)
if err != nil {
panic(err)
// If we find lines that don't match the expected format we skip over them.
// The expected format is <protocol> <number> <aliases> ...
// As we're using strings.Fields for splitting the line, failures can happen if the protocol field contains white spaces.
continue
}
protoent := &Protoent{