Bridge group chat portal metadata from Matrix to Telegram. Fixes #33

WARNING: Portal table schema changed. Run the following SQL before updating:
    ALTER TABLE portal ADD COLUMN about VARCHAR
This commit is contained in:
Tulir Asokan
2018-02-03 16:15:37 +02:00
parent 1bc246af37
commit f49f71ce8d
7 changed files with 154 additions and 48 deletions
+1
View File
@@ -33,6 +33,7 @@ class Portal(Base):
# Telegram chat metadata
username = Column(String, nullable=True)
title = Column(String, nullable=True)
about = Column(String, nullable=True)
photo_id = Column(String, nullable=True)