From 7ff27b572f34d72e1d7c0d7aa49de7a1798ae102 Mon Sep 17 00:00:00 2001 From: Mikunj Date: Fri, 6 Sep 2019 16:18:26 +1000 Subject: [PATCH] Fix identicons for public chats --- src/org/thoughtcrime/securesms/loki/LokiGroupChatPoller.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/thoughtcrime/securesms/loki/LokiGroupChatPoller.kt b/src/org/thoughtcrime/securesms/loki/LokiGroupChatPoller.kt index a5c57e31f9..e1053d38bc 100644 --- a/src/org/thoughtcrime/securesms/loki/LokiGroupChatPoller.kt +++ b/src/org/thoughtcrime/securesms/loki/LokiGroupChatPoller.kt @@ -94,7 +94,7 @@ class LokiGroupChatPoller(private val context: Context, private val group: LokiG val x1 = SignalServiceGroup(SignalServiceGroup.Type.UPDATE, id, null, null, null) val x2 = SignalServiceDataMessage(message.timestamp, x1, null, message.body) val senderDisplayName = "${message.displayName} (...${message.hexEncodedPublicKey.takeLast(8)})" - val x3 = SignalServiceContent(x2, senderDisplayName, SignalServiceAddress.DEFAULT_DEVICE_ID, message.timestamp, false) + val x3 = SignalServiceContent(x2, message.hexEncodedPublicKey, SignalServiceAddress.DEFAULT_DEVICE_ID, message.timestamp, false) PushDecryptJob(context).handleTextMessage(x3, x2, Optional.absent(), Optional.of(message.serverID)) } fun processOutgoingMessage(message: LokiGroupMessage) {