5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-11-22 09:20:27 +00:00

Remove message newline (telegram). #399

This commit is contained in:
Wim 2018-04-19 22:05:00 +02:00
parent 31a752fa21
commit 8a8b95228c

View File

@ -97,5 +97,6 @@ func RemoveEmptyNewLines(msg string) string {
lines += line + "\n"
}
}
lines = strings.TrimRight(lines, "\n")
return lines
}