mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-12 13:05:58 +08:00
fix bug: v.MsgData == nil
This commit is contained in:
@@ -109,7 +109,6 @@ func (och *OnlineHistoryConsumerHandler) Run(channelID int) {
|
|||||||
log.Debug(triggerID, "msg come to storage center", v.String())
|
log.Debug(triggerID, "msg come to storage center", v.String())
|
||||||
if v.MsgData == nil {
|
if v.MsgData == nil {
|
||||||
log.NewWarn(triggerID, "msg come to storage center nil", v.String())
|
log.NewWarn(triggerID, "msg come to storage center nil", v.String())
|
||||||
panic(v.String())
|
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
isHistory := utils.GetSwitchFromOptions(v.MsgData.Options, constant.IsHistory)
|
isHistory := utils.GetSwitchFromOptions(v.MsgData.Options, constant.IsHistory)
|
||||||
|
|||||||
Reference in New Issue
Block a user