Ran `flow`, confirmed using `isInvalidSidebarSource` in place of `isMessageSidebarSourceReactionEditorPin` didn't cause any regressions, and just general testing to make sure sidebars (especially with robotext) still works. Also rewrote the unit tests to be more resistant to unintentional changes to message types and ran `yarn workspace lib test`