xddd
This commit is contained in:
@@ -7436,6 +7436,9 @@ class NotificationSystem {
|
||||
} else if (data.type === 'comments') {
|
||||
window.f0ckDebug(`[SSE] Comment update received:`, data.data);
|
||||
if (data.data.type === 'comment') {
|
||||
if (window.commentSystem && typeof window.commentSystem.handleLiveComment === 'function') {
|
||||
window.commentSystem.handleLiveComment(data.data);
|
||||
}
|
||||
// New comment posted — update xD badge from server-authoritative score
|
||||
if (typeof data.data.xd_score === 'number') {
|
||||
updateXdBadgeFromScore(data.data.item_id, data.data.xd_score);
|
||||
|
||||
Reference in New Issue
Block a user