Reset voip apn id as well when we get an unregister event

// FREEBIE
This commit is contained in:
Moxie Marlinspike 2017-05-03 20:09:13 -07:00
parent 54f25358eb
commit ca6aa5213c
1 changed files with 1 additions and 0 deletions

View File

@ -141,6 +141,7 @@ public class APNSender implements Managed {
{
logger.info("APN Unregister timestamp matches!");
device.get().setApnId(null);
device.get().setVoipApnId(null);
device.get().setFetchesMessages(false);
accountsManager.update(account.get());
}