From 455d9fc4c5726e4af9c40b36ee4f4ea18f65a8e9 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Sat, 22 Feb 2020 01:17:52 +0200 Subject: Improve tags and add initial invite handling --- matrix/pushrules/condition.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'matrix/pushrules/condition.go') diff --git a/matrix/pushrules/condition.go b/matrix/pushrules/condition.go index 0b7776a..cc62da1 100644 --- a/matrix/pushrules/condition.go +++ b/matrix/pushrules/condition.go @@ -22,6 +22,7 @@ import ( "strings" "unicode" + "maunium.net/go/gomuks/matrix/rooms" "maunium.net/go/mautrix" "maunium.net/go/gomuks/lib/glob" @@ -29,8 +30,8 @@ import ( // Room is an interface with the functions that are needed for processing room-specific push conditions type Room interface { - GetMember(mxid string) *mautrix.Member - GetMembers() map[string]*mautrix.Member + GetMember(mxid string) *rooms.Member + GetMembers() map[string]*rooms.Member GetSessionOwner() string } -- cgit v1.2.3