Skip to content

Commit 6a3b190

Browse files
authored
DEV: Add compatibility with the Glimmer Post Stream (#239)
1 parent d779202 commit 6a3b190

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.discourse-compatibility

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
< 3.5.0.beta3-dev: d779202749e56aaee2d548b538796fb5db1b9b7c
12
< 3.5.0.beta2-dev: 7f9a0bb2a75217731de3a0168302b66453152c09
23
< 3.5.0.beta1-dev: 0390f3611ea3b635877b349e9fb38aac01e19837
34
< 3.4.0.beta2-dev: 6d52b8cfa8b3e2920aa3f12fc52673b88f53f776

assets/javascripts/discourse/pre-initializers/extend-category-for-voting.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function initialize(api) {
77
return ["voting-post"];
88
}
99
});
10-
api.includePostAttributes("can_vote");
10+
api.addTrackedPostProperties("can_vote");
1111
api.addTagsHtmlCallback(
1212
(topic) => {
1313
if (!topic.can_vote) {

0 commit comments

Comments
 (0)