mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-06-27 21:39:22 +00:00
Remove message newline (telegram). #399
This commit is contained in:
@ -97,5 +97,6 @@ func RemoveEmptyNewLines(msg string) string {
|
|||||||
lines += line + "\n"
|
lines += line + "\n"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
lines = strings.TrimRight(lines, "\n")
|
||||||
return lines
|
return lines
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user