Explorar o código

fix: clear channel name in user logs

1808837298@qq.com hai 1 ano
pai
achega
c511c7f034
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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 {