From e06d852d781ccaa8bf280029d77d87ddc7d3a75e Mon Sep 17 00:00:00 2001 From: Nathan Mattes Date: Mon, 22 May 2023 14:29:50 +0200 Subject: [PATCH] Add emoji-support (IOS-157) --- .../TableView-Components/SuggestionAccountTableViewCell.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Mastodon/Scene/SuggestionAccount/TableView-Components/SuggestionAccountTableViewCell.swift b/Mastodon/Scene/SuggestionAccount/TableView-Components/SuggestionAccountTableViewCell.swift index 9b88742ea..3c0e334b9 100644 --- a/Mastodon/Scene/SuggestionAccount/TableView-Components/SuggestionAccountTableViewCell.swift +++ b/Mastodon/Scene/SuggestionAccount/TableView-Components/SuggestionAccountTableViewCell.swift @@ -108,8 +108,7 @@ final class SuggestionAccountTableViewCell: UITableViewCell { let metaContent: MetaContent = { do { - //TODO: Add emojis - let mastodonContent = MastodonContent(content: viewModel.user.note ?? "", emojis: [:]) + let mastodonContent = MastodonContent(content: viewModel.user.note ?? "", emojis: viewModel.user.emojis.asDictionary) return try MastodonMetaContent.convert(document: mastodonContent) } catch { assertionFailure()