Fix onSetClick

This commit is contained in:
andrew 2023-09-01 10:35:21 +09:30
parent ee6ce84116
commit 8b320bb0ce

View File

@ -110,6 +110,7 @@ class ExpirationSettingsViewModel(
_state.update { state ->
state.copy(
address = recipient?.address,
isGroup = groupInfo != null,
isSelfAdmin = groupInfo == null || groupInfo.admins.any{ it.serialize() == textSecurePreferences.getLocalNumber() },
expiryMode = expiryMode