filter messages before enter
Merge pull request #5 from JeffM2501/v2_4_x

filter messages before enter