summaryrefslogtreecommitdiff
path: root/plugins/Meteor
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Meteor')
-rw-r--r--plugins/Meteor/meteorupdater.js11
1 files changed, 1 insertions, 10 deletions
diff --git a/plugins/Meteor/meteorupdater.js b/plugins/Meteor/meteorupdater.js
index de01d430a..9ce68775b 100644
--- a/plugins/Meteor/meteorupdater.js
+++ b/plugins/Meteor/meteorupdater.js
@@ -8,17 +8,8 @@ var MeteorUpdater = function()
init: function(server, port, timeline)
{
- var screen_name;
-
Meteor.callbacks["process"] = function(data) {
- var d = JSON.parse(data);
- screen_name = d['user']['screen_name'];
-
- if (timeline == 'public' ||
- $('address .url')[0].href+screen_name+'/all' == window.location.href ||
- $('address .url')[0].href+screen_name == window.location.href) {
- RealtimeUpdate.receive(d);
- }
+ RealtimeUpdate.receive(JSON.parse(data));
};
Meteor.host = server;