diff options
-rw-r--r-- | appservice/matrix.go | 2 | ||||
-rw-r--r-- | appservice/server.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/appservice/matrix.go b/appservice/matrix.go index a1cc759..b2da2f2 100644 --- a/appservice/matrix.go +++ b/appservice/matrix.go @@ -10,8 +10,8 @@ import ( log "github.com/sirupsen/logrus" - . "git.deuxfleurs.fr/Deuxfleurs/easybridge/mxlib" "git.deuxfleurs.fr/Deuxfleurs/easybridge/connector" + . "git.deuxfleurs.fr/Deuxfleurs/easybridge/mxlib" ) const EASYBRIDGE_SYSTEM_PROTOCOL string = "✯◡✯" diff --git a/appservice/server.go b/appservice/server.go index 2585e2a..42dd78b 100644 --- a/appservice/server.go +++ b/appservice/server.go @@ -85,7 +85,7 @@ func handleTxn(w http.ResponseWriter, r *http.Request) { for i := range txn.Events { ev := &txn.Events[i] - if strings.HasPrefix(ev.Sender, "@" + registration.SenderLocalpart) { + if strings.HasPrefix(ev.Sender, "@"+registration.SenderLocalpart) { // Don't do anything with ezbr events that come back to us continue } |