History

AvatarData now stores sessionUUID

Andrew Meadows committed 12 years ago

Commit b8232b51 parent 79670564 files · +11 −5Browse files

Showing the changes to interface/src/Application.cpp (1 of 4 files). Show all

Unified · Split

interface/src/Application.cpp+4−1
@@ -1205,7 +1205,10 @@ void Application::timer() { · 1204 unmodified lines
12051205 // ask the node list to check in with the domain server
12061206 NodeList::getInstance()->sendDomainServerCheckIn();
12071207
1208−
1208+ // as soon as we have a valid sessionUUID, store it in the avatar for reference
1209+ if (_myAvatar->getSessionUUID().isNull()) {
1210+ _myAvatar->setSessionUUID(NodeList::getInstance()->getSessionUUID());
1211+ }
12091212 }
12101213
12111214 void Application::idle() {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t