Skip to content
This repository has been archived by the owner on Apr 25, 2019. It is now read-only.

Commit

Permalink
GCMessage: use const strings for registration ids, fix #8
Browse files Browse the repository at this point in the history
  • Loading branch information
sigod committed Nov 6, 2015
1 parent e858a58 commit a6a22de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/gcm.d
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ struct GCMessage(Data = JSONValue)
package string to;

/// This parameter specifies a list of devices (registration tokens, or IDs) receiving a multicast message.
package string[] registration_ids;
package const(string)[] registration_ids;

/// This parameter identifies a group of messages that can be collapsed.
string collapse_key;
Expand Down

0 comments on commit a6a22de

Please sign in to comment.