I’d like to add some functionality to my phpBB importer - one of my modifications in my original forum was a “user thank you” mod and I’d like to transfer the data from this mod to Discourse “likes”. For this, I’d need a ruby method that takes a user (ID), a post ID and adds a like for that post from the specified user. The only thing I came across is
update_like_count() - but I’m not really sure this is the right method since I couldn’t find any invocation of that method? Also, this does not seem to update the post data, but only user statistics?