diff options
-rw-r--r-- | slack/slack_conversation.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/slack/slack_conversation.py b/slack/slack_conversation.py index e39428f..79a3f49 100644 --- a/slack/slack_conversation.py +++ b/slack/slack_conversation.py @@ -72,9 +72,7 @@ def sha1_hex(string: str) -> str: def hash_from_ts(ts: SlackTs) -> str: - hex_str = sha1_hex(str(ts)) - only_letters = hex_str.translate(str.maketrans("0123456789", "ghijklmnop")) - return only_letters + return sha1_hex(str(ts)) class SlackConversationMessageHashes(Dict[SlackTs, str]): |