Created
August 27, 2020 13:16
-
-
Save gregblake/649939a3b7d653c5ab3d38565f84b898 to your computer and use it in GitHub Desktop.
New room_info key on the mobile notification payload
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{:data=> | |
{:aps=>{:"content-available"=>true, :sound=>""}, | |
:"message-type"=>"connect", | |
:"as-of"=>"2020-08-27T09:15:17-04:00", | |
:"nitro-environment"=>"development", | |
:user_id=>33868, | |
:connect_message_id=>59955711, | |
:message_prefetch=>true, | |
:connect_message=> | |
{:messages=> | |
{59955711=> | |
{:id=>59955711, | |
:prev_message_id=>59955709, | |
:from_id=>33868, | |
:to_id=>49349, | |
:to_type=>"ConnectRoom", | |
:body=>"u#31995 u#all 214", | |
:created_at=>"2020-08-27T12:28:06Z", | |
:updated_at=>"2020-08-27T12:28:06Z", | |
:truncated_body=>false}}}, | |
:legacy_notification_server=>false, | |
:room_info=>{:mentions=>{:message_includes_at_all_mention=>true, :current_user_is_mentioned=>true}, :notification_preference=>nil}}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment