Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- func JoinCancelV1(client *oop.Account, to string) {
- var Batas = 0
- c, _ := client.GetChats([]string{to})
- pen := c.Chats[0].Extra.GroupExtra.InviteeMids
- for oP3, _ := range pen {
- bagong := oP3
- if IsBlacklist(client, bagong) == true {
- go func(bagong string) {
- go client.CancelChatInvitations(to, []string{bagong})
- }(bagong)
- Batas = Batas + 1
- if Batas >= MaxCancel-1 {
- Batas = 0
- break
- }
- }
- }
- runtime.GOMAXPROCS(cpu)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement