소스 검색

增加添加结果的消息监听

lichangdong 2 일 전
부모
커밋
28eeda43b1
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      internal/service/MessageHandlers/register_strategy.go

+ 1 - 0
internal/service/MessageHandlers/register_strategy.go

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