friendica/friendica — pull request #347 by fermionic (2012-06-21 03:00:42+00:00)
Title: create new signed text for relayables right when relaying them

In a previous upgrade to the `diaspora_send_relay function`, I removed the creation of the signed text from that function and instead chose to rely on the signed text in the database. However, since the body of a comment sent through `diaspora_send_relay` has `bb2diaspora` applied to it, the comment signature sometimes fails when reaching Diaspora. To prevent this, create the signature from the comment text in the form that it gets sent to Diaspora in by re-instating the creation of the signed text in `diaspora_send_relay`.