Merge branch '1580-offline-state' into 'master'

Add offline state for pending contacts

Closes #1580

See merge request !1138
1 job for master in 10 minutes and 39 seconds (queued for 8 minutes and 17 seconds)
Status Job ID Name Coverage
  Test
passed #3752
test

00:10:39