Commit b2621156 authored by Grigory Fedorov's avatar Grigory Fedorov

ConnectionThread: account registration fixed network in main thread exception.

parent 99da92a7
......@@ -564,8 +564,13 @@ public class ConnectionThread implements
private void onAccountRegistered(final String password) {
LogManager.i(this, "Account registered");
connectionItem.onAccountRegistered(this);
runOnConnectionThread(new Runnable() {
@Override
public void run() {
authorization(password);
}
});
}
/**
* Login.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment