diff --git a/src/state.rs b/src/state.rs index aa2bd279..b22139f3 100644 --- a/src/state.rs +++ b/src/state.rs @@ -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 }