Fix typo
This commit is contained in:
parent
14f039f5a4
commit
bb1d28c755
1 changed files with 1 additions and 1 deletions
|
@ -1223,7 +1223,7 @@ func (portal *Portal) HandleMatrixMessage(sender *User, evt *mautrix.Event) {
|
||||||
relaybotFormatted := false
|
relaybotFormatted := false
|
||||||
if sender.NeedsRelaybot(portal) {
|
if sender.NeedsRelaybot(portal) {
|
||||||
if !portal.HasRelaybot() {
|
if !portal.HasRelaybot() {
|
||||||
if user.HasSession() {
|
if sender.HasSession() {
|
||||||
portal.log.Debugln("Database says", sender.MXID, "not in chat and no relaybot, but trying to send anyway")
|
portal.log.Debugln("Database says", sender.MXID, "not in chat and no relaybot, but trying to send anyway")
|
||||||
} else {
|
} else {
|
||||||
portal.log.Debugln("Ignoring message from", sender.MXID, "in chat with no relaybot")
|
portal.log.Debugln("Ignoring message from", sender.MXID, "in chat with no relaybot")
|
||||||
|
|
Loading…
Reference in a new issue