This commit is contained in:
cdle
2023-07-03 14:20:36 +08:00
parent c4a870ebaa
commit f0ce2ac5d5
3 changed files with 9 additions and 4 deletions
+3 -2
View File
@@ -402,10 +402,11 @@ func (sender *SenderJsIplm) Listen(ps ...interface{}) interface{} {
}
if persistent {
options = append(options, "persistent")
}
if !persistent {
} else if len(carry.AllowPlatforms) == 0 {
carry.AllowPlatforms = []string{sender.GetPlatform()}
}
carry.UserID = sender.GetUserID()
carry.ChatID = sender.GetChatID()
carry.UUID = sender.UUID
options = append(options, carry)
var newJsSender *SenderJsIplm