Skip to content

Commit

Permalink
Fixed PortableLib not compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisK91 committed Sep 8, 2013
1 parent 67191eb commit 1f8187e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions SparklrLib/SparklrClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -538,8 +538,10 @@ public async Task<SparklrEventArgs> PostAsync(string message, Stream image)
{
awaitTheseRequests.Add(id, pendingUsernameRequests[id]);
#if DEBUG
#if !PORTABLELIB
if (System.Diagnostics.Debugger.IsLogging())
System.Diagnostics.Debugger.Log(0, "SparklrLib", String.Format("Awaiting pending request for {0}", id));
#endif
#endif
}
else
Expand Down
2 changes: 1 addition & 1 deletion SparklrWP Background Agent/ScheduledAgent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ protected async override void OnInvoke(ScheduledTask task)
data.Title = "Sparklr*";
data.BackgroundImage = new Uri("/Background.png", UriKind.Relative);
//TODO?: change to not use external server? Update text only instead?
//Known bug: client.Usernames[strm.notifications[0].from] causes a InvalidData exception
//Known bug: client.Usernames[strm.notifications[0].from] causes a Outofrange exception
//data.BackBackgroundImage = new Uri("http://til.eaterofcorps.es/?url=http%3A%2F%2Fd.sparklr.me%2Fi%2F" + strm.notifications[0].from + ".jpg&text=" + Uri.EscapeDataString(String.Format(textGenerator(strm.notifications[0]), client.Usernames[strm.notifications[0].from])));
til.Update(data);

Expand Down

0 comments on commit 1f8187e

Please sign in to comment.