reverted elvis fold

This commit is contained in:
bpavuk 2024-07-11 16:47:57 +03:00
parent 7842ac0dac
commit 529f4156fd
No known key found for this signature in database
GPG Key ID: B501D26D9DEA9CFE

View File

@ -504,7 +504,9 @@ suspend fun main(args: Array<String>) {
strictlyOn<UserRetrievingStep.RetrievingChatInfoDoneState> { state -> strictlyOn<UserRetrievingStep.RetrievingChatInfoDoneState> { state ->
val chatMember = getChatMember(state.channelId, state.userId).administratorChatMemberOrNull() val chatMember = getChatMember(state.channelId, state.userId).administratorChatMemberOrNull()
?: return@strictlyOn null if (chatMember == null) {
return@strictlyOn null
}
send( send(
state.context, state.context,
replyMarkup = buildAdminRightsKeyboard( replyMarkup = buildAdminRightsKeyboard(