bridgev2/portal: adjust handleMatrixMessage return value for pending messages
Some checks failed
Go / Lint (latest) (push) Has been cancelled
Go / Build (old, libolm) (push) Has been cancelled
Go / Build (latest, libolm) (push) Has been cancelled
Go / Build (old, goolm) (push) Has been cancelled
Go / Build (latest, goolm) (push) Has been cancelled

This commit is contained in:
Tulir Asokan 2025-07-10 16:19:37 +03:00
commit 5e29bac3dd

View file

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