From 477e607100d9b3599e6a06ee175f46f371efb7ce Mon Sep 17 00:00:00 2001
From: aguestuser <aguestuser@riseup.net>
Date: Wed, 16 Jun 2021 13:31:56 -0400
Subject: [PATCH] [498] revert to libsignal v t23_m1

- in m2_WIP, we modified `SignalServiceAddress#identifier` to prefer
  phone numbers to UUIDs (as opposed to preferring UUIDs to phone
  numbers, as the upstream version does)
- we did this in an attempt to attempt to solve a bug that was
  better addressed by making the `phone_number` column on the
  `contacts` table nullable
- here we revert that change it because:
  - (1) it is risky to diverge from mainline signal on this part of
    the data model
  - (2) the change appears to have introduced another bug in which in
    which first-time incoming prekey bundle messages could not create
    a session b/c of a Bad Mac error
---
 signalc/build.gradle.kts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/signalc/build.gradle.kts b/signalc/build.gradle.kts
index 0aa0f4af..36deb76a 100644
--- a/signalc/build.gradle.kts
+++ b/signalc/build.gradle.kts
@@ -78,7 +78,7 @@ object Versions {
     const val kotlinSerialization = "1.2.1"
     const val h2 = "1.4.199"
     const val hikariCp = "4.0.3"
-    const val libsignal = "2.15.3_unofficial_t23_m2_WIP"
+    const val libsignal = "2.15.3_unofficial_t23_m1"
     const val liquibase = "4.2.2"
     const val liquibasePlugin = "2.0.4"
     const val logback = "1.2.3"
-- 
GitLab