Thumbnail

rani/matterbridge.git

Clone URL: https://git.buni.party/rani/matterbridge.git

commit 958498b5a1d3ad5f7266612294a7fd40669be385 Author: Wim <wim@42.be> Date: Thu Apr 19 22:05:00 2018 +0000 Remove message newline (telegram). #399 diff --git a/bridge/helper/helper.go b/bridge/helper/helper.go index 5fdc6ec..c4ac0ae 100644 --- a/bridge/helper/helper.go +++ b/bridge/helper/helper.go @@ -975 +976 @@ func RemoveEmptyNewLines(msg string) string {   lines += line + "\n"   }   } + lines = strings.TrimRight(lines, "\n")   return lines  }