Created
December 12, 2011 06:26
-
-
Save sethwebster/1465388 to your computer and use it in GitHub Desktop.
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
// Run this on another thread since the signalr client doesn't like it | |
// when we spend a long time processing messages synchronously | |
Task.Factory.StartNew(() => | |
{ | |
string content = message.Content; | |
string name = message.User.Name; | |
// Ignore replies from self | |
if (name.Equals(Name, StringComparison.OrdinalIgnoreCase)) | |
{ | |
return; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment