1. fix seq reset.
2. remove SendMarkdown config
This commit is contained in:
parent
b58bc7bef6
commit
5ed12820c3
1 changed files with 1 additions and 2 deletions
|
|
@ -37,7 +37,7 @@ const (
|
||||||
dedupInterval = 60 * time.Second
|
dedupInterval = 60 * time.Second
|
||||||
dedupMaxSize = 10000 // hard cap on dedup map entries
|
dedupMaxSize = 10000 // hard cap on dedup map entries
|
||||||
typingResend = 8 * time.Second
|
typingResend = 8 * time.Second
|
||||||
typingSeconds = 20
|
typingSeconds = 10
|
||||||
)
|
)
|
||||||
|
|
||||||
var emojiRegexp = regexp.MustCompile(`<[^<]*?ext="([^"]+)"[^<]*?faceType=(\d+)[^<]*?>|<[^<]*?faceType=(\d+)[^<]*?ext="([^"]+)"[^<]*?>`)
|
var emojiRegexp = regexp.MustCompile(`<[^<]*?ext="([^"]+)"[^<]*?faceType=(\d+)[^<]*?>|<[^<]*?faceType=(\d+)[^<]*?ext="([^"]+)"[^<]*?>`)
|
||||||
|
|
@ -253,7 +253,6 @@ func (c *QQChannel) getReplyExtInfo(ctx context.Context, chatID string) (replyID
|
||||||
c.replySeq.Store(0)
|
c.replySeq.Store(0)
|
||||||
seq = c.replySeq.Add(1)
|
seq = c.replySeq.Add(1)
|
||||||
}
|
}
|
||||||
|
|
||||||
return replyID, seq
|
return replyID, seq
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue