I was used to her jokes.
It means that I adapted/adjusted to her jokes (so i.e. I didn't get offended).
I was used to doing ...
This is wrong based on English grammar.
Do not confuse
used to do something with
be used to doing something. These are totally different, and for the first one you must always use an infinite after
used to, not past tense or the
ing form. The second one is just the same as the first sentence explained above.
See the grammar note from LDOCE below:
I used to swim here.
It refers to the routine you had in the past that you don't have anymore. So, e.g. as a child you used to swim in the lake every day, but you don't do it anymore.