Skip to content

Commit

Permalink
Collects media type when saving Reddit publisher data
Browse files Browse the repository at this point in the history
  • Loading branch information
masparrow committed Oct 3, 2019
1 parent d17efcf commit bb1f772
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion browser/extensions/api/brave_rewards_api.cc
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,10 @@ void BraveRewardsTipRedditUserFunction::OnRedditPublisherInfoSaved(
"postText", params->media_meta_data.post_text);
media_meta_data_dict.SetStringKey(
"postRelDate", params->media_meta_data.post_rel_date);
media_meta_data_dict.SetStringKey(
"mediaType", params->media_meta_data.media_type);
params_dict->SetPath(
"mediaMetaData", std::move(media_meta_data_dict));
"mediaMetaData", std::move(media_meta_data_dict));

::brave_rewards::OpenTipDialog(
contents, std::move(params_dict));
Expand Down

0 comments on commit bb1f772

Please sign in to comment.