DEV: Add compatibility with the Glimmer Post Stream

This commit is contained in:
Sérgio Saquetim 2025-04-25 15:58:10 -03:00
parent d779202749
commit cc84d8a238
No known key found for this signature in database
GPG Key ID: B4E3D7F11E793062
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ function initialize(api) {
return ["voting-post"];
}
});
api.includePostAttributes("can_vote");
api.addTrackedPostProperties("can_vote");
api.addTagsHtmlCallback(
(topic) => {
if (!topic.can_vote) {