Chromium Code Reviews| Index: remoting/client/plugin/chromoting_instance.cc |
| diff --git a/remoting/client/plugin/chromoting_instance.cc b/remoting/client/plugin/chromoting_instance.cc |
| index 1514466c803f59e613883b6326b878a25f4daacf..8f41791ddeb54cc56cc298dfd884ebd69809352f 100644 |
| --- a/remoting/client/plugin/chromoting_instance.cc |
| +++ b/remoting/client/plugin/chromoting_instance.cc |
| @@ -616,7 +616,9 @@ void ChromotingInstance::Disconnect() { |
| } |
| void ChromotingInstance::OnIncomingIq(const std::string& iq) { |
| - xmpp_proxy_->OnIq(iq); |
| + // Just ignore the message if it's received before Connect() is called. |
|
alexeypa (please no reviews)
2013/04/08 15:55:29
nit: Add "It's likely to be a leftover from a prev
Sergey Ulanov
2013/04/08 19:48:12
Done.
|
| + if (xmpp_proxy_) |
| + xmpp_proxy_->OnIq(iq); |
| } |
| void ChromotingInstance::ReleaseAllKeys() { |