filter user sent messages

1. remove the <sender/> element if it's included
2. add timestamp to a message
filter out duplicated jids in a group