Parcourir la source

fix: clear channel name in user logs

1808837298@qq.com il y a 1 an
Parent
commit
c511c7f034
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      model/log.go

+ 1 - 0
model/log.go

@@ -43,6 +43,7 @@ const (
 
 func formatUserLogs(logs []*Log) {
 	for i := range logs {
+		logs[i].ChannelName = ""
 		var otherMap map[string]interface{}
 		otherMap = common.StrToMap(logs[i].Other)
 		if otherMap != nil {