summaryrefslogtreecommitdiffstats
path: root/bridge
diff options
context:
space:
mode:
authorWim <wim@42.be>2018-11-08 00:35:30 +0100
committerWim <wim@42.be>2018-11-08 00:35:30 +0100
commit588b8e0303289f55b4b1407619fb5c73988fe424 (patch)
tree48af9099ff3ce4319edd6471a20d0562c1497d0a /bridge
parent1794922263192a1ccccaf0cde2300d116e702042 (diff)
downloadmatterbridge-msglm-588b8e0303289f55b4b1407619fb5c73988fe424.tar.gz
matterbridge-msglm-588b8e0303289f55b4b1407619fb5c73988fe424.tar.bz2
matterbridge-msglm-588b8e0303289f55b4b1407619fb5c73988fe424.zip
Make interfacer linter happy
Diffstat (limited to 'bridge')
-rw-r--r--bridge/telegram/html.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/bridge/telegram/html.go b/bridge/telegram/html.go
index 35b3f4f9..12d6d0c6 100644
--- a/bridge/telegram/html.go
+++ b/bridge/telegram/html.go
@@ -3,6 +3,7 @@ package btelegram
import (
"bytes"
"html"
+ "io"
"github.com/russross/blackfriday"
)
@@ -32,7 +33,7 @@ func (options *customHTML) Header(out *bytes.Buffer, text func() bool, level int
options.Paragraph(out, text)
}
-func (options *customHTML) HRule(out *bytes.Buffer) {
+func (options *customHTML) HRule(out io.ByteWriter) {
out.WriteByte('\n')
}