wuroy.eth 1 月之前
父节点
当前提交
92dc9cfb65
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      internal/pkg/customer_of_im/channel/channel.go

+ 1 - 0
internal/pkg/customer_of_im/channel/channel.go

@@ -58,6 +58,7 @@ func (c *Channel) beforeSendReply(reply *ReplyMessage) error {
 			}
 			switch item.Type {
 			case "TEXT":
+				reply.Type = proto.EnumContentType_Text
 				reply.Content = item.Content
 				_ = c.beforeSendReply(reply)
 			default: