server+client: added sound flag to video posts

This commit is contained in:
Shyam Sunder
2018-09-13 15:48:13 -04:00
committed by Marcin Kurczewski
parent c8fe0fcdff
commit 2235a72d2f
5 changed files with 23 additions and 3 deletions

View File

@ -81,6 +81,7 @@ TYPE_MAP = {
FLAG_MAP = {
model.Post.FLAG_LOOP: 'loop',
model.Post.FLAG_SOUND: 'sound',
}

View File

@ -154,6 +154,7 @@ class Post(Base):
TYPE_FLASH = 'flash'
FLAG_LOOP = 'loop'
FLAG_SOUND = 'sound'
# basic meta
post_id = sa.Column('id', sa.Integer, primary_key=True)