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

Commit

Permalink
update my stupid bug in mail thingy
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy C committed Jul 10, 2015
1 parent a294b75 commit f51781c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/components/mailbox/mailbox.dart
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class Mailbox extends PolymerElement {
Mail message = new Mail();
message.to_user = toField;
message.from_user = window.sessionStorage['playerName'];
if (message.body != null) {
if (toBody != null) {
message.body = toBody;
} else {
message.body = "";
Expand Down Expand Up @@ -154,4 +154,4 @@ class Mailbox extends PolymerElement {
}
return HttpRequest.request(url, method: "POST", requestHeaders:requestHeaders, sendData: data);
}
}
}

0 comments on commit f51781c

Please sign in to comment.