Commit 4470ef97 by 1808837298@qq.com

fix: clear channel name in user logs

parent b6bae9dc
...@@ -43,6 +43,7 @@ const ( ...@@ -43,6 +43,7 @@ const (
func formatUserLogs(logs []*Log) { func formatUserLogs(logs []*Log) {
for i := range logs { for i := range logs {
logs[i].ChannelName = ""
var otherMap map[string]interface{} var otherMap map[string]interface{}
otherMap = common.StrToMap(logs[i].Other) otherMap = common.StrToMap(logs[i].Other)
if otherMap != nil { if otherMap != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment