WhisperSystems/TextSecure — pull request #717 by oxee (2014-02-25 19:44:10+00:00)
Title: No Self Texting

Prevent users from texting themselves either in a group or as a single recipient.

Not sure if this was the solution you were looking for, but it works well for me when I tested it.