diff options
-rw-r--r-- | matrix/matrix.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/matrix/matrix.go b/matrix/matrix.go index 6985659..f19fa24 100644 --- a/matrix/matrix.go +++ b/matrix/matrix.go @@ -281,7 +281,7 @@ func (c *Container) SendPreferencesToMatrix() { // HandleMessage is the event handler for the m.room.message timeline event. func (c *Container) HandleMessage(source EventSource, evt *mautrix.Event) { - if source&EventSourceLeave != 0 { + if source&EventSourceLeave != 0 || source&EventSourceState != 0 { return } mainView := c.ui.MainView() |