Go fmt
This commit is contained in:
parent
f7ee64cdfe
commit
21188f0952
2 changed files with 2 additions and 2 deletions
|
@ -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 = "✯◡✯"
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue