It means that they believe the person they quoted is right.
Instead of saying the exact same thing, you quote the person who said it and say 'this'.
That tells people that the quote is the same thing you would've said.
The person agrees with or would otherwise have said what's in the quote.
This.