Fix incorrect group member left message

This commit is contained in:
fanchao 2024-08-29 17:00:37 +10:00
parent 1cec477020
commit beb89d5b74

View File

@ -871,7 +871,7 @@ private fun MessageReceiver.handleClosedGroupMemberLeft(message: ClosedGroupCont
// Notify the user
if (!userLeft) {
storage.insertIncomingInfoMessage(context, senderPublicKey, groupID, SignalServiceGroup.Type.MEMBER_LEFT, name, members, admins, message.sentTimestamp!!)
storage.insertIncomingInfoMessage(context, senderPublicKey, groupID, SignalServiceGroup.Type.MEMBER_LEFT, name, listOf(senderPublicKey), admins, message.sentTimestamp!!)
}
}