diff options
author | Alex Auvolat <alex@adnab.me> | 2020-02-17 21:25:22 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-02-17 21:25:22 +0100 |
commit | 21188f0952470fd8d0cdf10b667d20dfa18865c4 (patch) | |
tree | bb1bb891ef134dbaa0c33e1cfffc7001841f28ce /appservice | |
parent | f7ee64cdfe599fce4bbc778c189538b26053d543 (diff) | |
download | easybridge-21188f0952470fd8d0cdf10b667d20dfa18865c4.tar.gz easybridge-21188f0952470fd8d0cdf10b667d20dfa18865c4.zip |
Go fmt
Diffstat (limited to 'appservice')
-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 } |