Renamed recipient->barejid in chat sessions
Removed active and composing static functions