zulip/zerver/data_import
Steve Howell 67cdf1a7b4 emojis: Use get_emoji_data.
The previous function was poorly named, asked for a
Realm object when realm_id sufficed, and returned a
tuple of strings that had different semantics.

I also avoid calling it duplicate times in a couple
places, although it was probably rarely the case that
both invocations actually happened if upstream
validations were working.

Note that there is a TypedDict called EmojiInfo, so I
chose EmojiData here.  Perhaps a better name would be
TinyEmojiData or something.

I also simplify the reaction tests with a verify
helper.
2023-07-17 09:35:53 -07:00
..
__init__.py
gitter.py auth: Rewrite data model for tracking enabled auth backends. 2023-04-18 09:22:56 -07:00
import_util.py auth: Rewrite data model for tracking enabled auth backends. 2023-04-18 09:22:56 -07:00
mattermost.py emojis: Use get_emoji_data. 2023-07-17 09:35:53 -07:00
rocketchat.py zerver: Update comments with "private message" or "PM". 2023-06-23 11:24:13 -07:00
sequencer.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
slack.py emojis: Use get_emoji_data. 2023-07-17 09:35:53 -07:00
slack_message_conversion.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
user_handler.py data_import: Rename mattermost_user to user_handler. 2021-07-15 14:28:36 -07:00