This commit is contained in:
Alex 2020-02-17 21:25:22 +01:00
parent f7ee64cdfe
commit 21188f0952
2 changed files with 2 additions and 2 deletions

View File

@ -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 = "✯◡✯"

View File

@ -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
}