hungdluit / flowlib

Automatically exported from code.google.com/p/flowlib
0 stars 0 forks source link

Event UserOnline, Arguments property UserInfo.IsOperator is always false #34

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Join hub, wait while all users loaded
2. Rejoin hub

possible will occur without reconnection

What is the expected output? What do you see instead?
Look at Protocol_Update event handler, event type Actions.UserOnline
UserInfo class attached to event always has IsOperator== false for all 
types of users

What version of the product are you using? ~~(Do not write latest)~~
SVN r482

On what operating system?
Windows Vista SP1

Please provide any additional information below.
If i get User object from hub it has right value of IsOperator

Original issue reported on code.google.com by hackw...@gmail.com on 20 Mar 2009 at 7:01

GoogleCodeExporter commented 8 years ago
You should listen on the Actions.UserInfoChange event to. I think this event 
will
have the IsOperator flag in your case. What event that will have the IsOperator 
flag
depends on what information you get from hub first.

Actions.UserOnline will only have IsOperator set to true if you get the 
operator list
from hub before any other user information. Otherwise it will be set on the
Actions.UserInfoChange.

Can you get me debug output from what are sent/received?
I think you know the event to listen to :)

Original comment by blomman84 on 29 Mar 2009 at 6:33

GoogleCodeExporter commented 8 years ago
Can this issue be closed?

Original comment by blomman84 on 9 Apr 2009 at 4:56

GoogleCodeExporter commented 8 years ago
I think yes, i'm using user object from hub, it works.

Original comment by hackw...@gmail.com on 9 Apr 2009 at 5:00

GoogleCodeExporter commented 8 years ago
Ok :)
Issue closed.

Original comment by blomman84 on 9 Apr 2009 at 5:04