- continue refactoring...
This commit is contained in:
@@ -33,13 +33,12 @@ func (c *ELMOrderController) MsgPost() {
|
||||
callbackResponse = cc.OrderMessage(obj)
|
||||
}
|
||||
if globals.CallNewMsgHandler {
|
||||
cc2 := &elm.Controller{}
|
||||
if globals.CallLegacyMsgHandler {
|
||||
utils.CallFuncAsync(func() {
|
||||
cc2.OnCallbackMsg(obj)
|
||||
elm.OnCallbackMsg(obj)
|
||||
})
|
||||
} else {
|
||||
callbackResponse = cc2.OnCallbackMsg(obj)
|
||||
callbackResponse = elm.OnCallbackMsg(obj)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user