Fix identicons for public chats

This commit is contained in:
Mikunj 2019-09-06 16:18:26 +10:00
parent e054740ce0
commit 7ff27b572f

View File

@ -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) {