Merge branch 'main' of github.com:cdle/sillyplus
This commit is contained in:
+2
-2
@@ -442,10 +442,10 @@ func (sender *SenderJsIplm) Listen(ps ...interface{}) interface{} {
|
|||||||
} else if len(carry.AllowPlatforms) == 0 {
|
} else if len(carry.AllowPlatforms) == 0 {
|
||||||
carry.AllowPlatforms = []string{sender.GetPlatform()}
|
carry.AllowPlatforms = []string{sender.GetPlatform()}
|
||||||
}
|
}
|
||||||
if carry.UserID != "" {
|
if carry.UserID == "" {
|
||||||
carry.UserID = sender.GetUserID()
|
carry.UserID = sender.GetUserID()
|
||||||
}
|
}
|
||||||
if carry.ChatID != "" {
|
if carry.ChatID == "" {
|
||||||
carry.ChatID = sender.GetChatID()
|
carry.ChatID = sender.GetChatID()
|
||||||
}
|
}
|
||||||
carry.UUID = sender.UUID
|
carry.UUID = sender.UUID
|
||||||
|
|||||||
Reference in New Issue
Block a user