From 331597b9f8a7942cbcb233a328301e4d5bf94fb0 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Fri, 11 Jan 2019 23:28:47 +0200 Subject: Switch to Go modules and make other changes --- matrix/sync.go | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'matrix/sync.go') diff --git a/matrix/sync.go b/matrix/sync.go index 06c7f47..fc426bc 100644 --- a/matrix/sync.go +++ b/matrix/sync.go @@ -23,8 +23,8 @@ import ( "maunium.net/go/gomuks/debug" "time" - "maunium.net/go/mautrix" "maunium.net/go/gomuks/matrix/rooms" + "maunium.net/go/mautrix" ) type SyncerSession interface { @@ -167,7 +167,14 @@ func (s *GomuksSyncer) GetFilterJSON(userID string) json.RawMessage { }, }, Timeline: mautrix.FilterPart{ - Types: []string{"m.room.message", "m.room.member"}, + Types: []string{ + "m.room.message", + "m.room.member", + "m.room.name", + "m.room.topic", + "m.room.canonical_alias", + "m.room.aliases", + }, Limit: 50, }, Ephemeral: mautrix.FilterPart{ -- cgit v1.2.3