diff options
author | Wim <wim@42.be> | 2018-11-08 00:29:30 +0100 |
---|---|---|
committer | Wim <wim@42.be> | 2018-11-08 00:29:30 +0100 |
commit | 1794922263192a1ccccaf0cde2300d116e702042 (patch) | |
tree | 6455330f15a2b3b5f39331dae3e6a5131a177a2e /bridge/matrix/matrix.go | |
parent | 0ededb88633cd5d93665c250b49ea4f598a1a793 (diff) | |
download | matterbridge-msglm-1794922263192a1ccccaf0cde2300d116e702042.tar.gz matterbridge-msglm-1794922263192a1ccccaf0cde2300d116e702042.tar.bz2 matterbridge-msglm-1794922263192a1ccccaf0cde2300d116e702042.zip |
Make unparam linter happy
Diffstat (limited to 'bridge/matrix/matrix.go')
-rw-r--r-- | bridge/matrix/matrix.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bridge/matrix/matrix.go b/bridge/matrix/matrix.go index ba02d4aa..18bc5572 100644 --- a/bridge/matrix/matrix.go +++ b/bridge/matrix/matrix.go @@ -129,7 +129,7 @@ func (b *Bmatrix) getRoomID(channel string) string { return "" } -func (b *Bmatrix) handlematrix() error { +func (b *Bmatrix) handlematrix() { syncer := b.mc.Syncer.(*matrix.DefaultSyncer) syncer.OnEventType("m.room.redaction", b.handleEvent) syncer.OnEventType("m.room.message", b.handleEvent) @@ -140,7 +140,6 @@ func (b *Bmatrix) handlematrix() error { } } }() - return nil } func (b *Bmatrix) handleEvent(ev *matrix.Event) { |