Check if portal is channel before trusting member list

This commit is contained in:
Tulir Asokan
2018-04-29 15:54:16 +03:00
parent 2c47cdfac6
commit bb13813952
3 changed files with 38 additions and 8 deletions
+1
View File
@@ -29,6 +29,7 @@ class Portal(Base):
tgid = Column(Integer, primary_key=True)
tg_receiver = Column(Integer, primary_key=True)
peer_type = Column(String)
megagroup = Column(Boolean)
# Matrix portal information
mxid = Column(String, unique=True, nullable=True)