Add RecipientStore to resolve all identifiers to SignalServiceAddress

Should fix #290
This commit is contained in:
AsamK 2020-04-03 11:56:26 +02:00
parent d49d536c32
commit 320e126eeb
8 changed files with 174 additions and 16 deletions

View file

@ -252,6 +252,9 @@ class Utils {
} else {
// Version 1: E164 user
version = 1;
if (!ownAddress.getNumber().isPresent() || !theirAddress.getNumber().isPresent()) {
return "INVALID ID";
}
ownId = ownAddress.getNumber().get().getBytes();
theirId = theirAddress.getNumber().get().getBytes();
}