If want politicians to act on guns, then say that instead of being offended at the offering of condolences.
If they’re going to do nothing, then they shouldn’t offer condolences. I don’t want politicians praying anyway, but I especially don’t want them doing that in place of action.