mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-06 12:52:26 +00:00
Use uppercase tags for comment events
This commit is contained in:
1 parent
90e5c745d3
commit
5979d4e25f
8 files changed
+139
-219
No files matched your search
@@ -131,7 +131,7 @@ export default class DiscussionCountService {
|
||||
const filters = [];
|
||||
const eventId = typeof video.id === "string" ? video.id.trim() : "";
|
||||
if (eventId) {
|
||||
filters.push({ kinds: [COMMENT_EVENT_KIND], "#e": [eventId] });
|
||||
filters.push({ kinds: [COMMENT_EVENT_KIND], "#E": [eventId] });
|
||||
}
|
||||
|
||||
const address = buildVideoAddressPointer(video);
|
||||
@@ -181,7 +181,7 @@ export default class DiscussionCountService {
|
||||
}
|
||||
|
||||
if (address) {
|
||||
filters.push({ kinds: [COMMENT_EVENT_KIND], "#a": [address] });
|
||||
filters.push({ kinds: [COMMENT_EVENT_KIND], "#A": [address] });
|
||||
}
|
||||
|
||||
return filters;
|
||||
|
||||
Reference in new issue
Block a user