Don't modify formatted strings in-place.

Otherwise we'll get differently looking formatting for messages received
in-app and out of app.