Making sure muc members get recorded.
This is an upstream of a change I made; will describe in a separate email thread. Essentially, the members map wasn't getting populated in the callclient example, so it was always empty. Now it will be populated correctly. R=henrike@webrtc.org Review URL: https://webrtc-codereview.appspot.com/13189004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6950 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
038cee2401
commit
7bd5fefb17
@ -1285,8 +1285,9 @@ void CallClient::OnMucStatusUpdate(const buzz::Jid& jid,
|
||||
return;
|
||||
}
|
||||
|
||||
if (!status.available()) {
|
||||
// Remove them from the room.
|
||||
if (status.available()) {
|
||||
muc->members()[status.jid().resource()] = status;
|
||||
} else {
|
||||
muc->members().erase(status.jid().resource());
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user