aboutsummaryrefslogtreecommitdiffstats
path: root/slack/register.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2023-10-14 21:42:28 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2024-02-18 11:32:54 +0100
commit2bf006184804104afe13bb11901c0d8674c3a1e2 (patch)
tree2c58b64361eb94567b7d9b4922bb9eb8647a3cbf /slack/register.py
parent300845598e26b0441afcd719a5b9e3af3e3aa45b (diff)
downloadwee-slack-2bf006184804104afe13bb11901c0d8674c3a1e2.tar.gz
Support adding and removing reactions
Diffstat (limited to 'slack/register.py')
-rw-r--r--slack/register.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/slack/register.py b/slack/register.py
index 23a4d55..b907c49 100644
--- a/slack/register.py
+++ b/slack/register.py
@@ -119,6 +119,9 @@ def register():
shared.weechat_version = int(weechat.info_get("version_number", "") or 0)
shared.current_buffer_pointer = weechat.current_buffer()
shared.standard_emojis = load_standard_emojis()
+ shared.standard_emojis_inverse = {
+ value["unicode"]: value for value in shared.standard_emojis.values()
+ }
shared.workspaces = {}
shared.config = SlackConfig()
shared.config.config_read()