mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Update SignalAccount storage on unregister
- save registered false state in the SignalAccount storage on unregister action
This commit is contained in:
parent
78474453d7
commit
8c295a3f90
1 changed files with 3 additions and 0 deletions
|
@ -209,6 +209,9 @@ public class Manager implements Signal {
|
||||||
// If this is the master device, other users can't send messages to this number anymore.
|
// If this is the master device, other users can't send messages to this number anymore.
|
||||||
// If this is a linked device, other users can still send messages, but this device doesn't receive them anymore.
|
// If this is a linked device, other users can still send messages, but this device doesn't receive them anymore.
|
||||||
accountManager.setGcmId(Optional.<String>absent());
|
accountManager.setGcmId(Optional.<String>absent());
|
||||||
|
|
||||||
|
account.setRegistered(false);
|
||||||
|
account.save();
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getDeviceLinkUri() throws TimeoutException, IOException {
|
public String getDeviceLinkUri() throws TimeoutException, IOException {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue