Now that existing message specs each have a `canBeSidebarSource` method, I need to update the function `isInvalidSidebarSource` to check `messageSpec.canBeSidebarSource`.
Addresses Part 1c of [[ https://linear.app/comm/issue/ENG-4849/thread-from-robotext-about-pinned-message-causing-errors | ENG-4849 ]]
Depends on D9325