At the moment "everyone" = Blip. "Exact same code", not necessarily.

Tidepool platform client is a work in progress. It might have token state
at some point but for now let's keep it like this. One thing at a time.

On Apr 11, 2014, at 8:37 PM, cheddar <notifications@github.com> wrote:

In app/core/api.js:

> @@ -471,6 +471,19 @@ api.team.replyToMessageThread = function(message,cb){
>    });
>  };
>
> +//New message
> +api.team.startMessageThread = function(message,cb){
> +  api.log('POST /message/send');
> +  var token = tidepoolPlatformApi.getToken();

So, everyone that ever uses the platform client is going to have to write
the exact same code to maintain an up-to-date token?

--
Reply to this email directly or view it on
GitHub<https://github.com/tidepool-org/blip/pull/47/files#r11545846>
.