sodaling

Results 5 issues of sodaling

Hello, I would like to know what the enumeration values ​​of HISTORY_SYNC_NOTIFICATION defined in the proto file mean?

```shell {"level":"error","time":"2022-06-28T09:52:59.883-0500","caller":"[email protected]/message.go:336","msg":"Failed to do initial fetch of app state regular: failed to fetch app state regular patches: websocket not connected","user":"500002-31","stacktrace":"go.mau.fi/whatsmeow.(*Client).handleAppStateSyncKeyShare\n\t/home/rdev/go/pkg/mod/go.mau.fi/[email protected]/message.go:336"} {"level":"error","time":"2022-06-28T09:52:59.883-0500","caller":"[email protected]/message.go:336","msg":"Failed to do initial fetch of app state regular_low: failed...

#170 I tried to make simple changes here without affecting the original logic. What do you think?

https://github.com/tulir/whatsmeow/blob/5718022af87c34233b152be10cf670ee42100018/client.go#L332 At present, the method will continue to try to reconnect after a delay after receiving err. Can we let it retry a certain number of times and return directly....

先膜拜一下, 然后求教一下, 那么多个demo,怎么想到的啊?我想练手都不知道做啥好