[Feature Request] Add draft support
When you have a unsent message in the message box:
- If this is a group chat, close the chat window and reopen it, typed words are still there.
- If this is a private 1:1 chat, close the chat window, then reopen it, all typed words are lost (Inconsistent behavior).
- Close Gajim and reopen it, all typed words in group chat message box are lost.
Description of the new feature
Add proper draft support to Gajim so that all typed words in message box are persistent regardless of chat type (group/1 to 1) and across different launches. Most messenger apps in these days already have this capability, even Conversations app (XMPP client) on Android supports draft as well.
Draft support needs to take contact list into consideration, if you have unsent draft for 1:1 chat whose recipient is not your contact, this specific 1:1 chat should still be visible in the contact list, to avoid silently clustering drafts.
Also, unsent draft content should be visible in contact list.