|
@@ -44,6 +44,7 @@ func (h *MessageHandler) RegisterStrategies() {
|
|
//"ChatroomPushNotice": toStrategy(NewChatroomPushNoticeTypeHandler),
|
|
//"ChatroomPushNotice": toStrategy(NewChatroomPushNoticeTypeHandler),
|
|
"ContactLabelInfoNotice": toStrategy(NewContactLabelInfoNotice),
|
|
"ContactLabelInfoNotice": toStrategy(NewContactLabelInfoNotice),
|
|
"FindContactTaskResultNotice": toStrategy(NewFindContactTaskResultNoticeHandler),
|
|
"FindContactTaskResultNotice": toStrategy(NewFindContactTaskResultNoticeHandler),
|
|
|
|
+ "TaskResultNotice": toStrategy(NewTaskResultNoticeHandler),
|
|
}
|
|
}
|
|
for msgType, strategyFunc := range strategyMap {
|
|
for msgType, strategyFunc := range strategyMap {
|
|
h.RegisterStrategy(msgType, strategyFunc(h.svcCtx))
|
|
h.RegisterStrategy(msgType, strategyFunc(h.svcCtx))
|