diff --git a/libsession/src/main/java/org/session/libsession/messaging/sending_receiving/ReceivedMessageHandler.kt b/libsession/src/main/java/org/session/libsession/messaging/sending_receiving/ReceivedMessageHandler.kt index 54a4e1b954..653492138e 100644 --- a/libsession/src/main/java/org/session/libsession/messaging/sending_receiving/ReceivedMessageHandler.kt +++ b/libsession/src/main/java/org/session/libsession/messaging/sending_receiving/ReceivedMessageHandler.kt @@ -267,7 +267,7 @@ private fun handleNewClosedGroup(sender: String, sentTimestamp: Long, groupPubli if (storage.getGroup(groupID) != null) { // Update the group // Clear zombie list if the group wasn't active - if (!storage.isGroupActive(groupID)) { + if (!storage.isGroupActive(groupPublicKey)) { storage.setZombieMembers(groupID, listOf()) } storage.updateTitle(groupID, name)