mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 14:25:53 +01:00
bridgev2/portal: adjust handleMatrixMessage return value for pending messages
Some checks failed
Some checks failed
This commit is contained in:
parent
4f8ff2a350
commit
5e29bac3dd
1 changed files with 4 additions and 0 deletions
|
|
@ -1096,6 +1096,10 @@ func (portal *Portal) handleMatrixMessage(ctx context.Context, sender *UserLogin
|
|||
},
|
||||
})
|
||||
}
|
||||
if resp.Pending {
|
||||
// Not exactly queued, but not finished either
|
||||
return EventHandlingResultQueued
|
||||
}
|
||||
return EventHandlingResultSuccess
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue