From 1794922263192a1ccccaf0cde2300d116e702042 Mon Sep 17 00:00:00 2001 From: Wim Date: Thu, 8 Nov 2018 00:29:30 +0100 Subject: Make unparam linter happy --- bridge/matrix/matrix.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bridge/matrix') 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) { -- cgit v1.2.3