aboutsummaryrefslogtreecommitdiff
path: root/matrix/sync_test.go
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2018-04-30 22:28:29 +0300
committerTulir Asokan <tulir@maunium.net>2018-04-30 22:28:29 +0300
commitb3543e90902e51c6f3cb3a90a7637d06a6ac5458 (patch)
treeef820c237b214bf3a57dce22d98d24a70a842dac /matrix/sync_test.go
parenta6b8c20b20fcf27643843cfef8516562a67c0b70 (diff)
Stop showing rooms the user has left in the room list. Fixes #35
Diffstat (limited to 'matrix/sync_test.go')
-rw-r--r--matrix/sync_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/matrix/sync_test.go b/matrix/sync_test.go
index 14f8969..56f62f9 100644
--- a/matrix/sync_test.go
+++ b/matrix/sync_test.go
@@ -177,7 +177,7 @@ type mockListener struct {
received []*gomatrix.Event
}
-func (ml *mockListener) receive(evt *gomatrix.Event) {
+func (ml *mockListener) receive(source matrix.EventSource, evt *gomatrix.Event) {
ml.received = append(ml.received, evt)
}