summaryrefslogtreecommitdiffstats
path: root/bridge/matrix/matrix.go
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/matrix/matrix.go')
-rw-r--r--bridge/matrix/matrix.go3
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) {