aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mastodon')
-rw-r--r--mastodon/Mastodon.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py
index 493d485..f49df83 100644
--- a/mastodon/Mastodon.py
+++ b/mastodon/Mastodon.py
@@ -3934,6 +3934,8 @@ class Mastodon:
3934 Checks if id is a dict that contains id and 3934 Checks if id is a dict that contains id and
3935 returns the id inside, otherwise just returns 3935 returns the id inside, otherwise just returns
3936 the id straight. 3936 the id straight.
3937
3938 Also unpacks datetimes to snowflake IDs if requested.
3937 """ 3939 """
3938 if isinstance(id, dict) and "id" in id: 3940 if isinstance(id, dict) and "id" in id:
3939 id = id["id"] 3941 id = id["id"]
Powered by cgit v1.2.3 (git 2.41.0)