9516324248e695df711d3ed1690cc1e6d7fe1d18
Some code was duplicated/similar. The parts about using a chatwin while being started from another window (recipient provided) and being a chatwin were the same. Like this it should be easier to read and less code.
Profanity 
Profanity is a console based XMPP client inspired by Irssi,
See the User Guide for information on installing and using Profanity.
Links
Homepage: https://profanity-im.github.io/
Mailing List: https://groups.google.com/forum/#!forum/profanitydev
MUC: profanity@rooms.dismail.de
Plugins repository: https://github.com/profanity-im/profanity-plugins
Description
Languages
C
95.2%
Python
1.7%
Makefile
0.9%
M4
0.8%
Shell
0.7%
Other
0.6%
