|
|
@ -796,7 +796,7 @@ define([
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// Messaging
|
|
|
|
// Messaging
|
|
|
|
Q_FRIEND_REQUEST: common.messaging.onFriendRequest.fire,
|
|
|
|
Q_FRIEND_REQUEST: common.messaging.onFriendRequest.fire,
|
|
|
|
EV_FIREND_COMPLETE: common.messaging.onFriendComplete.fire,
|
|
|
|
EV_FRIEND_COMPLETE: common.messaging.onFriendComplete.fire,
|
|
|
|
// Network
|
|
|
|
// Network
|
|
|
|
NETWORK_DISCONNECT: common.onNetworkDisconnect.fire,
|
|
|
|
NETWORK_DISCONNECT: common.onNetworkDisconnect.fire,
|
|
|
|
NETWORK_RECONNECT: function (data) {
|
|
|
|
NETWORK_RECONNECT: function (data) {
|
|
|
@ -890,7 +890,6 @@ define([
|
|
|
|
}).nThen(function (waitFor) {
|
|
|
|
}).nThen(function (waitFor) {
|
|
|
|
var cfg = {
|
|
|
|
var cfg = {
|
|
|
|
init: true,
|
|
|
|
init: true,
|
|
|
|
//query: onMessage, // TODO temporary, will be replaced by a webworker channel
|
|
|
|
|
|
|
|
userHash: LocalStore.getUserHash(),
|
|
|
|
userHash: LocalStore.getUserHash(),
|
|
|
|
anonHash: LocalStore.getFSHash(),
|
|
|
|
anonHash: LocalStore.getFSHash(),
|
|
|
|
localToken: tryParsing(localStorage.getItem(Constants.tokenKey)),
|
|
|
|
localToken: tryParsing(localStorage.getItem(Constants.tokenKey)),
|
|
|
|