state.rs: send AccountStatusChange

async
Manos Pitsidianakis 2020-06-09 15:39:53 +03:00
parent 1241b6073f
commit 9f30cd6bbc
Signed by: Manos Pitsidianakis
GPG Key ID: 73627C2F690DF710
1 changed files with 3 additions and 0 deletions

View File

@ -143,6 +143,9 @@ impl Context {
replies.push_back(UIEvent::AccountStatusChange(account_pos));
}
}
if ret.is_ok() != was_online {
replies.push_back(UIEvent::AccountStatusChange(account_pos));
}
ret
}