aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclarkzjw <[email protected]>2023-02-23 16:46:25 -0800
committerclarkzjw <[email protected]>2023-02-23 16:46:25 -0800
commitaf56ead63269aff81c7b23251fca3ca650eb94fe (patch)
treeb7b9491817e83452f69750655fe240702ab44e0e /dbstore/peewee_store.py
parent20b8220a12fc92f95ecae267ce4eb5a80584f564 (diff)
parentb98b8bf3ced39afcb04e705d500cd5184d8b5254 (diff)
downloadswarm2fediverse-af56ead63269aff81c7b23251fca3ca650eb94fe.tar.gz
Merge branch 'feature/oauth-pleroma'
- bot: support pleroma instances - status_update() in mastodon.py currently doesn't support content_type, thus it still fallbacks to text/plain on pleroma instances when adding comments
Diffstat (limited to 'dbstore/peewee_store.py')
-rw-r--r--dbstore/peewee_store.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/dbstore/peewee_store.py b/dbstore/peewee_store.py
index 445816e..ed52257 100644
--- a/dbstore/peewee_store.py
+++ b/dbstore/peewee_store.py
@@ -18,6 +18,7 @@ class User(BaseModel):
18 telegram_user_id = CharField(unique=True, primary_key=True) 18 telegram_user_id = CharField(unique=True, primary_key=True)
19 access_key = CharField(max_length=256) 19 access_key = CharField(max_length=256)
20 home_instance = CharField(max_length=256) 20 home_instance = CharField(max_length=256)
21 home_instance_type = CharField(max_length=128, default="mastodon")
21 state = CharField(max_length=128) 22 state = CharField(max_length=128)
22 client_id = CharField(max_length=128) 23 client_id = CharField(max_length=128)
23 client_secret = CharField(max_length=128) 24 client_secret = CharField(max_length=128)
Powered by cgit v1.2.3 (git 2.41.0)