update
This commit is contained in:
+1
-1
@@ -154,7 +154,7 @@ func (sender *Sender) Reply(msgs ...interface{}) error {
|
|||||||
for _, item := range msgs {
|
for _, item := range msgs {
|
||||||
switch item.(type) {
|
switch item.(type) {
|
||||||
case time.Duration:
|
case time.Duration:
|
||||||
du := msgs[1].(time.Duration)
|
du := item.(time.Duration)
|
||||||
sender.Duration = &du
|
sender.Duration = &du
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user