Diff of /trunk/ModularRex/RexNetwork/RexClientView.cs
Parent Directory
|
Revision Log
|
Patch
| revision 25, Mon Jan 5 12:49:17 2009 UTC | revision 28, Wed Jan 7 07:20:35 2009 UTC | |
|---|---|---|
| # | Line 437 | Line 437 |
| 437 | XmlRpcResponse authreply = req.Send("http://" + RexAuthURL, 9000); | XmlRpcResponse authreply = req.Send("http://" + RexAuthURL, 9000); |
| 438 | ||
| 439 | m_log.Info(authreply.ToString()); | m_log.Info(authreply.ToString()); |
| 440 | if (!((Hashtable)authreply.Value).ContainsKey("error_type")) | |
| 441 | { | |
| 442 | string rexAsAddress = ((Hashtable)authreply.Value)["as_address"].ToString(); | string rexAsAddress = ((Hashtable)authreply.Value)["as_address"].ToString(); |
| 443 | /* string rexSkypeURL = ((Hashtable)authreply.Value)["skype_url"].ToString(); */ | string rexSkypeURL = ((Hashtable)authreply.Value)["skype_url"].ToString(); |
| 444 | UUID userID = new UUID(((Hashtable) authreply.Value)["uuid"].ToString()); | UUID userID = new UUID(((Hashtable) authreply.Value)["uuid"].ToString()); |
| 445 | ||
| 446 | // Sanity check | // Sanity check |
| # | Line 451 | Line 452 |
| 452 | } | } |
| 453 | else | else |
| 454 | { | { |
| 455 | RexAvatarURL = rexAsAddress; | m_log.Warn("[REXCLIENT]: User not found"); |
| // RexSkypeURL = rexSkypeURL; | ||
| 456 | } | } |
| 457 | } | } |
| 458 |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |

