4
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2025-06-26 16:39:24 +00:00

Make unparam linter happy

This commit is contained in:
Wim
2018-11-08 00:29:30 +01:00
parent 0ededb8863
commit 1794922263
4 changed files with 8 additions and 11 deletions

View File

@ -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) {