]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Meteor/meteorupdater.js
Revert "Added realtime streams for all and showstream timelines"
[quix0rs-gnu-social.git] / plugins / Meteor / meteorupdater.js
index de01d430a1220fa7830148ead1a8d9c3ef874d3e..9ce68775bf8ba1ebd89efc05f90605a753487231 100644 (file)
@@ -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;