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: