Merge branch 'master' of github.com:rodrigok/Rocket.Chat.RN
This commit is contained in:
commit
613061312f
|
@ -8,8 +8,6 @@ export function connect(cb) {
|
|||
const currentServer = realm.objects('servers').filtered('current = true')[0];
|
||||
const url = `${ currentServer.id }/websocket`;
|
||||
|
||||
console.log('CONNECTING TO', url);
|
||||
|
||||
Meteor.connect(url);
|
||||
|
||||
Meteor.ddp.on('connected', () => {
|
||||
|
@ -83,7 +81,6 @@ export function loadMessagesForRoom(rid) {
|
|||
if (err) {
|
||||
console.error(err);
|
||||
}
|
||||
console.log(data);
|
||||
|
||||
realm.write(() => {
|
||||
data.messages.forEach((message) => {
|
||||
|
|
Loading…
Reference in New Issue