How to differentiate between Ir transmitter/recv

Guess what... both of them are producing the purple glow. I suspect both could be transmitters. doesnt the receiver have a black chip like thing in the center?