ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/zoe/trunk/Collector.cpp
(Generate patch)

Comparing trunk/Collector.cpp (file contents):
Revision 34 by douglas, 2004-07-20T16:49:06-07:00 vs.
Revision 35 by douglas, 2004-07-21T20:43:31-07:00

# Line 56 | Line 56 | int Collector::collect()
56                  buddies.Insert(*buddy);
57  
58          buddy.Insert(buddies);
59        icbm.RequestParams();
59  
60          net::Oscar::Capabilities capabilities;
61  
62          capabilities.Insert(net::Oscar::ChatCapability);
63          info.SetProfile("<font face=\"Tahoma\" size=2>I am <a href=\"http://computers.douglasthrift.net/zoe.xml\">Zoe</a>."
64 <                "</font> :-*", "<font face=\"Tahoma\" size=3>Mommy told me not to talk to strangers.</font> O:-)", capabilities);
64 >                "</font> :-*", "<font face=\"Tahoma\" size=2>Mommy told me not to talk to strangers.</font> O:-)", capabilities);
65  
66          // figure out whether or not we logged in
67  
# Line 115 | Line 114 | void Collector::receive(const ext::Strin
114                  
115                  sleep(1);
116  
117 <                icbm->Simple(buddy, stamp);
117 >                icbm->Simple(buddy, ext::String(stamp) + " " + lexical_cast<ext::String>(std::time(NULL)) + " "
118 >                        + lexical_cast<ext::String>(api::GetWallTimerSeconds()));
119          }
120          else
121          {
122                  sleep(1);
123  
124 <                icbm->Simple(buddy, "<font face=\"Tahoma\" size=2>Mommy told me not to talk to strangers. O:-)");
124 >                icbm->Simple(buddy, "<font face=\"Tahoma\" size=2>Mommy told me not to talk to strangers.</font> O:-)");
125          }
126   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines