aa
This commit is contained in:
@@ -479,7 +479,7 @@ func replaceContent(content string, printMsg *model.PrintMsg) (result string) {
|
||||
hexPrefix, _ := jxutils.Utf8ToGbk([]byte(soundPrefix))
|
||||
hexPrefixStr := hex.EncodeToString(hexPrefix)
|
||||
realSound := hexPrefixStr + sound
|
||||
allLen := fmt.Sprintf("%x", (len("fd001a0101")+len(realSound))/2)
|
||||
allLen := fmt.Sprintf("%x", (len("001a0101")+len(realSound))/2)
|
||||
if len(allLen) < 2 {
|
||||
allLen = "0" + allLen
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user