connectedhomeip
connectedhomeip copied to clipboard
[IM] Follow-up: Expose API in CommandSender to get fabric index/node id
I thought CommandSender exposed a way to get its `mExchangeCtx` or info from it, but looks like not. In that case, doing what this PR does is OK, but consider a followup to expose that information on CommandSender.
Originally posted by @bzbarsky-apple in https://github.com/project-chip/connectedhomeip/pull/33671#discussion_r1619687724