Missing information in IrcUser under IrcChannel UserJoined event

Bug #808619 reported by Steve Gates Junior
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
IRC.NET
Fix Committed
Medium
Alexander Regueiro

Bug Description

private void Channel_UserJoined(object sender, IrcChannelUserEventArgs e)
        {
            var channel = sender as IrcChannel;
            Console.WriteLine("NickName: {0}", e.ChannelUser.User.NickName);
            Console.WriteLine("RealName: {0}", e.ChannelUser.User.RealName);
            Console.WriteLine("UserName: {0}", e.ChannelUser.User.UserName);
            Console.WriteLine("HostName: {0}", e.ChannelUser.User.HostName);
        }
Based on the code snippet above, I am getting the output as shown below

NickName: texxan
RealName:
UserName:
HostName:

Related branches

Revision history for this message
Alexander Regueiro (alexreg) wrote :

This is expected behaviour. Unless the user in question is either the local user (IrcLocalUser object) or you have explicitly requested the user information (via a WhoIs query for example), then RealName/UserName/HostName ought to be blank at this point.

Changed in ircdotnet:
assignee: nobody → Alex Regueiro (noldorin)
Revision history for this message
Steve Gates Junior (dr0zaxx) wrote :

:ircdotnet!~<email address hidden> JOIN :#testing123

Changed in ircdotnet:
importance: Undecided → Medium
Changed in ircdotnet:
status: New → Confirmed
status: Confirmed → In Progress
Changed in ircdotnet:
status: In Progress → Fix Committed
Changed in ircdotnet:
milestone: none → 0.4.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.