For some particular reason, I need my users to be able to follow themselves. It sounds silly but it solves a critical problem of mine in a nice way. Of course, I was meaning to accomplish it via Rules, ON event User account has been created.
However when I tried to create a rule and an action in it, I have seen that the rule was running bur the friendship_relations table was not updated.
I am pretty much a novice about PHP however it seems like the code stops in friendlist_api.module (line 417):
// A person must NEVER start a relationship with him/herself.
if ($requester == $requestee) {
return FALSE;
}
Is there a specific reason that you have decided to not let relationships with themselves or is it more of a logical assumption?
If latter I will just comment this part to get things working if of course there is not another and smoother way of doing this.
TIA,
Kayra.
Comments
Comment #1
thekayra CreditAttribution: thekayra commentedA yes or no answer would be enough actually =)