removal of duplicate notifications was broken

This commit is contained in:
Hannes Mannerheim 2015-01-19 17:05:12 +01:00
parent fce5e17f51
commit 13d7976dd7

View File

@ -1480,7 +1480,7 @@ function addToFeed(feed, after, extraClasses, isReply) {
} }
// only if this notification isn't already in stream // only if this notification isn't already in stream
if($('#stream-item-' + obj.id).length == 0) { if($('#feed-body > .stream-item[data-quitter-id-in-stream="' + obj.id + '"]').length == 0) {
obj.from_profile.description = obj.from_profile.description || ''; obj.from_profile.description = obj.from_profile.description || '';
var notificationTime = parseTwitterDate(obj.created_at); var notificationTime = parseTwitterDate(obj.created_at);