removal of duplicate notifications was broken
This commit is contained in:
parent
fce5e17f51
commit
13d7976dd7
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user