Merge branch 'master' of github.com:rodrigok/Rocket.Chat.RN

This commit is contained in:
Diego Sampaio 2017-08-07 11:10:25 -03:00
commit 613061312f
No known key found for this signature in database
GPG Key ID: E060152B30502562
1 changed files with 0 additions and 3 deletions

View File

@ -8,8 +8,6 @@ export function connect(cb) {
const currentServer = realm.objects('servers').filtered('current = true')[0]; const currentServer = realm.objects('servers').filtered('current = true')[0];
const url = `${ currentServer.id }/websocket`; const url = `${ currentServer.id }/websocket`;
console.log('CONNECTING TO', url);
Meteor.connect(url); Meteor.connect(url);
Meteor.ddp.on('connected', () => { Meteor.ddp.on('connected', () => {
@ -83,7 +81,6 @@ export function loadMessagesForRoom(rid) {
if (err) { if (err) {
console.error(err); console.error(err);
} }
console.log(data);
realm.write(() => { realm.write(() => {
data.messages.forEach((message) => { data.messages.forEach((message) => {