isMedia & isTextMessage returned false regardless

Changed as was returning false for check regardless.
Merge pull request #14 from liamcottle/patch-1

isMedia & isTextMessage returned false regardless