mirror of
https://github.com/42wim/matterbridge.git
synced 2024-12-18 17:12:37 +01:00
Remove message newline (telegram). #399
This commit is contained in:
parent
31a752fa21
commit
8a8b95228c
@ -97,5 +97,6 @@ func RemoveEmptyNewLines(msg string) string {
|
|||||||
lines += line + "\n"
|
lines += line + "\n"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
lines = strings.TrimRight(lines, "\n")
|
||||||
return lines
|
return lines
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user