]> nmode's Git Repositories - signal-cli/commit
Adapt register command to reactivate account if possible
authorAsamK <asamk@gmx.de>
Fri, 12 Nov 2021 15:10:22 +0000 (16:10 +0100)
committerAsamK <asamk@gmx.de>
Fri, 12 Nov 2021 15:10:22 +0000 (16:10 +0100)
commit398cddaf295547448571526ec6205b35d3ba0bfc
treef060f13581423a6e6846920f948df8289338bd34
parentc73c58723cc001327ed3f28cb8b98578a5437b93
Adapt register command to reactivate account if possible

By default the unregister command just deactivates the account, in which
case it can be reactivated without sms verification if the local data is
still available.
If the account was deleted (with --delete-account) it cannot be reactivated.
lib/src/main/java/org/asamk/signal/manager/RegistrationManager.java