mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-27 06:13:27 +01:00
Add support for "registrationId" session enforcement.
This commit is contained in:
@@ -15,6 +15,7 @@ public class PreKeyTest {
|
||||
@Test
|
||||
public void serializeToJSON() throws Exception {
|
||||
PreKey preKey = new PreKey(1, "+14152222222", 1, 1234, "test", "identityTest", false);
|
||||
preKey.setRegistrationId(987);
|
||||
|
||||
assertThat("Basic Contact Serialization works",
|
||||
asJson(preKey),
|
||||
|
||||
Reference in New Issue
Block a user