Rename method
This commit is contained in:
parent
e8dcdc7182
commit
41e3ff381f
|
@ -47,7 +47,7 @@ internal class CryptoSessionInfoProvider @Inject constructor(
|
||||||
/**
|
/**
|
||||||
* @param allActive if true return joined as well as invited, if false, only joined
|
* @param allActive if true return joined as well as invited, if false, only joined
|
||||||
*/
|
*/
|
||||||
fun getRoomUserIdsForCrypto(roomId: String, allActive: Boolean): List<String> {
|
fun getRoomUserIds(roomId: String, allActive: Boolean): List<String> {
|
||||||
var userIds: List<String> = emptyList()
|
var userIds: List<String> = emptyList()
|
||||||
monarchy.doWithRealm { realm ->
|
monarchy.doWithRealm { realm ->
|
||||||
userIds = if (allActive) {
|
userIds = if (allActive) {
|
||||||
|
|
|
@ -872,7 +872,7 @@ internal class DefaultCryptoService @Inject constructor(
|
||||||
private fun getRoomUserIds(roomId: String): List<String> {
|
private fun getRoomUserIds(roomId: String): List<String> {
|
||||||
val encryptForInvitedMembers = isEncryptionEnabledForInvitedUser()
|
val encryptForInvitedMembers = isEncryptionEnabledForInvitedUser()
|
||||||
&& shouldEncryptForInvitedMembers(roomId)
|
&& shouldEncryptForInvitedMembers(roomId)
|
||||||
return cryptoSessionInfoProvider.getRoomUserIdsForCrypto(roomId, encryptForInvitedMembers)
|
return cryptoSessionInfoProvider.getRoomUserIds(roomId, encryptForInvitedMembers)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue