If the Galoy connector doesn't reliably return preimages for WebLN it will break quite some apps that follow the current WebLN spec and possibly would force them to handle those special cases (for intraledger payments) which is clearly not how WebLN is intended to work.
Would also be required to be able to obtain a proof of payment when paying another user on the same backend.
Update with the BTCPayServer plugin:
as the BTCPayServer instance shows the receipt online (with the preImage in it's database from the invoice creation) it provides the preImage as the payment proof regardless if the payment was settled intraledger. Example of an invoice paid to the BTCPay Blink plugin from Blink:
Currently the preImage is only returned in case the invoice is paid over LN:
Discussed in detail in: https://github.com/getAlby/lightning-browser-extension/issues/2946
Would also be required to be able to obtain a proof of payment when paying another user on the same backend.
Update with the BTCPayServer plugin: as the BTCPayServer instance shows the receipt online (with the preImage in it's database from the invoice creation) it provides the preImage as the payment proof regardless if the payment was settled intraledger. Example of an invoice paid to the BTCPay Blink plugin from Blink: