Use legacy sender certificate, until uuid support is complete

This commit is contained in:
AsamK 2020-03-25 20:34:12 +01:00
parent d50dc69f08
commit 286070c054

View file

@ -997,7 +997,9 @@ public class Manager implements Signal {
} }
private byte[] getSenderCertificate() throws IOException { private byte[] getSenderCertificate() throws IOException {
byte[] certificate = accountManager.getSenderCertificate(); // TODO support UUID capable sender certificates
// byte[] certificate = accountManager.getSenderCertificate();
byte[] certificate = accountManager.getSenderCertificateLegacy();
// TODO cache for a day // TODO cache for a day
return certificate; return certificate;
} }