Sometimes certain events occupy the chat box, this diff makes the room remember this status as well as the old draft so that it can be restored when the time is right.
Breaking change:
- RoomModel::localDraft is removed and applications should use RoomModel::localDrafts instead. To migrate, replace localDraft with localDrafts.at(0).text.
- Room::localDraft() is removed and applications should use Room::localDrafts() instead. To migrate, replace localDraft() with localDraft()[0][lager::lenses::or_default][&LocalDraft::text].
Type: add