feat: support for video events
This commit is contained in:
parent
d6a5a82cf8
commit
6b88da3f03
28 changed files with 116 additions and 72 deletions
|
|
@ -39,6 +39,7 @@ export const StorageKey = {
|
|||
DEFAULT_SHOW_NSFW: 'defaultShowNsfw',
|
||||
DISMISSED_TOO_MANY_RELAYS_ALERT: 'dismissedTooManyRelaysAlert',
|
||||
SHOW_KINDS: 'showKinds',
|
||||
SHOW_KINDS_VERSION: 'showKindsVersion',
|
||||
MEDIA_UPLOAD_SERVICE: 'mediaUploadService', // deprecated
|
||||
HIDE_UNTRUSTED_EVENTS: 'hideUntrustedEvents', // deprecated
|
||||
ACCOUNT_RELAY_LIST_EVENT_MAP: 'accountRelayListEventMap', // deprecated
|
||||
|
|
@ -67,6 +68,8 @@ export const GROUP_METADATA_EVENT_KIND = 39000
|
|||
|
||||
export const ExtendedKind = {
|
||||
PICTURE: 20,
|
||||
VIDEO: 21,
|
||||
SHORT_VIDEO: 22,
|
||||
POLL: 1068,
|
||||
POLL_RESPONSE: 1018,
|
||||
COMMENT: 1111,
|
||||
|
|
@ -77,10 +80,12 @@ export const ExtendedKind = {
|
|||
GROUP_METADATA: 39000
|
||||
}
|
||||
|
||||
export const DEFAULT_SHOW_KINDS = [
|
||||
export const SUPPORTED_KINDS = [
|
||||
kinds.ShortTextNote,
|
||||
kinds.Repost,
|
||||
ExtendedKind.PICTURE,
|
||||
ExtendedKind.VIDEO,
|
||||
ExtendedKind.SHORT_VIDEO,
|
||||
ExtendedKind.POLL,
|
||||
ExtendedKind.COMMENT,
|
||||
ExtendedKind.VOICE,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue