It's not a question of being woke - being woke is what pertains to taking immigrants from the whole world and setting up a 'global society' in your own countries.
But here it's more a matter of being a serious country and one that doesn't betray the people who tied their fates to it, and when the whole thing collapses - taking people fleeing for their lives in.
Over the course of the 90s some 200,000-300,000 Afghans ended up in Russia. At first mostly members of Afghanistan's socialist party and military officers + families. Then even ordinary people fleeing from Taliban rule.
Most of them ended up moving to Europe later on; out of all the Afghan socialist upper leaders I think only 1 still lives in Russia.
And this time Russia will end up with a lot of Afghan refugees again; it's pretty much unavoidable. Already they're preparing to evacuate Russian citizens out of Afghanistan and mixed families. Afghan students of Russian universities who have been stuck in Afghanistan over COVID have now penned a letter requesting their own flights to the country. Afghan students and workers inside Russia want to bring their families in. Long-time Afghan communities in Russia - are now requesting the same thing and claiming they will ensure responsibility over hosting refugees. A lot of them don't have citizenship - I think Russia is wary of granting them citizenship due to the typically large Afghan families, which can then all be invited to the country as well.
There was an Afghan teacher of Russian who wrote to the Russian embassy asking them to help her get to Russia. She lived in Uzbekistan and Tajikistan but neither of those countries are accepting anymore refugees.
I don't doubt that a lot of those people will be disappointed, but one way or the other a lot will get here. Also from Tajikistan which already has a large Afghan refugee population.
Personally I don't mind taking in Afghans fleeing the country. Just on one condition. Misbehave or break the law and you'll be deported and handed over to the new authorities in Afghanistan. That ought to do it.