add clientCallback simple func

This commit is contained in:
shoopea 2020-02-05 11:29:30 +08:00
parent 42e5fb8785
commit 9036da160a

View File

@ -244,6 +244,10 @@ func clientCallbackDelay(userID64 int64, msgID64 int64, chatID64 int64, name str
MQTGCmdQueue <- c MQTGCmdQueue <- c
} }
func clientCallback(userID64 int64, msgID64 int64, chatID64 int64, name string, data []byte) {
clientCallbackDelay(userID64, msgID64, chatID64, name, data, 0)
}
func clientMsgMeAck(m *ChatWarsMessageMeAck) { func clientMsgMeAck(m *ChatWarsMessageMeAck) {
if clt, ok := getLockedClient(m.Msg.TGUserID64, false); ok { if clt, ok := getLockedClient(m.Msg.TGUserID64, false); ok {
if clt.Active { if clt.Active {