update
This commit is contained in:
@@ -245,6 +245,7 @@ func (sender *BaseSender) Await(callback func(string, error) interface{}, params
|
||||
c.Result = make(chan interface{}, 1)
|
||||
key := fmt.Sprintf("u=%v&c=%v&i=%v", sender.GetUserID(), sender.GetChatID(), sender.GetImType())
|
||||
if oc, ok := waits.LoadOrStore(key, c); ok {
|
||||
fmt.Println(waits.LoadOrStore(key, c))
|
||||
oc.(Carry).Chan <- InterruptError
|
||||
}
|
||||
fmt.Println(waits.LoadOrStore(key, c))
|
||||
|
||||
Reference in New Issue
Block a user