diff options
author | clarkzjw <[email protected]> | 2023-02-23 16:45:01 -0800 |
---|---|---|
committer | clarkzjw <[email protected]> | 2023-02-23 16:46:12 -0800 |
commit | b98b8bf3ced39afcb04e705d500cd5184d8b5254 (patch) | |
tree | b7b9491817e83452f69750655fe240702ab44e0e /dbstore | |
parent | 20b8220a12fc92f95ecae267ce4eb5a80584f564 (diff) | |
download | swarm2fediverse-b98b8bf3ced39afcb04e705d500cd5184d8b5254.tar.gz |
- 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')
-rw-r--r-- | dbstore/peewee_store.py | 1 |
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) |