phase2/oa_core — pull request #58 by dsnopek (2014-06-11 17:29:13+00:00)
Title: When creating a Comment, set the Message user to the Comment user.

In the current Git, we aren't explicitly passing the $uid when creating a Message. This causes it to use the current user by default. This works fine most of the time, because the current user when hook_comment_insert() runs is the comment author when posting via a web browser. However, when a comment is imported via oa_mailhandler, the current user is either 'anonymous' (if it's run via cron) or an administrator (if they are running it by hand).

This PR basically just passes the comment author's uid explicitly, fixing the problem!