Selaa lähdekoodia

fix: clear channel name in user logs

1808837298@qq.com 1 vuosi sitten
vanhempi
commit
c511c7f034
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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 {