Skip to content

Commit

Permalink
Fix regressions for registration.
Browse files Browse the repository at this point in the history
  • Loading branch information
moxie0 committed Nov 12, 2014
1 parent fb31319 commit 71fdaac
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ protected void onPostExecute(Integer result) {
@Override
protected Integer doInBackground(Void... params) {
try {
TextSecureAccountManager accountManager = TextSecureCommunicationFactory.createManager(context);
TextSecureAccountManager accountManager = TextSecureCommunicationFactory.createManager(context, e164number, password);
int registrationId = TextSecurePreferences.getLocalRegistrationId(context);

accountManager.verifyAccount(code, signalingKey, true, registrationId);
Expand Down Expand Up @@ -608,7 +608,7 @@ public void run() {
@Override
protected Integer doInBackground(Void... params) {
try {
TextSecureAccountManager accountManager = TextSecureCommunicationFactory.createManager(context);
TextSecureAccountManager accountManager = TextSecureCommunicationFactory.createManager(context, e164number, password);
accountManager.requestVoiceVerificationCode();

return SUCCESS;
Expand Down

0 comments on commit 71fdaac

Please sign in to comment.