Rename "connected" state to "connecting".

This commit is contained in:
akwizgran
2019-06-06 17:21:52 +01:00
parent dc741e988c
commit 15d9ff1ebd
4 changed files with 4 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ internal fun PendingContact.output() = JsonDict(
internal fun PendingContactState.output() = when(this) {
WAITING_FOR_CONNECTION -> "waiting_for_connection"
CONNECTED -> "connected"
CONNECTING -> "connecting"
ADDING_CONTACT -> "adding_contact"
FAILED -> "failed"
else -> throw AssertionError()