• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed Own profile - Conversation - Start a Conversation

Marcus

Well-known member
#1
There is a link on your own profile to start a conversation (with yourself). After you click on this link your username is in the list of participants. This gives you an error after you write yourself a message.
 

jmurrayhead

Well-known member
#2
"You cannot start a conversation with yourself (unless you're crazy)" would probably be a better message than "Please enter at least one valid participant". However, you are not a valid participant in a conversation with yourself, so I'd say it's working as designed.
 

Jeremy

Well-known member
#3
I think the bug is that the link is still present on your own profile, rather than hiding it because you can't start a conversation with yourself. The error handling is as designed however.
 

jmurrayhead

Well-known member
#4
I think the bug is that the link is still present on your own profile, rather than hiding it because you can't start a conversation with yourself. The error handling is as designed however.
Yeah, I thought about that for a minute after I posted. Would make more sense to remove it completely.
 

Vincent

Well-known member
#5
Since I'm bored, here's a quick fix ;)

In member_view, change
Code:
<xen:if is="{$canStartConversation}">
to

Code:
<xen:if is="{$canStartConversation} AND {$user.user_id} != {$visitor.user_id}">