Lysias 12.20 difficult clause

Here is the immediate context. In this forensic oration, Lysias, a metic (resident alien in Athens) has been describing the injustices heaped on him by the defendant in the trial.

Then Lysias declares: τοιούτων ἠξίωσαν οὐχ ὁμοίως μετοικοῦντας ὥσπερ αὐτοὶ ἐπολιτεύοντο.

The idea has to be that Lysias has been a model metic in Athens, performing perfectly all the duties laid on rich resident aliens while living a blameless life, and the defendant an Athenian citizen is a rascal unworthy of his citizenship, and criminal in his former political power.

But I don’t understand how this clause works. Perhaps it omits words Greeks took for granted?

He’s being sardonic. “They thought (us) worthy of such things (i.e. this is how they treated us) when our behavior as metics was not like theirs as citizens” (lit. “not being metics in the same way that they themselves were citizens”).

Many thanks to mwh for the reply. Very helpful.