Small style changes

This commit is contained in:
FreezyLemon 2017-12-07 16:41:46 +01:00
parent 465f92af07
commit 772bba27be
2 changed files with 2 additions and 3 deletions

View File

@ -66,8 +66,8 @@ private void load()
private class DummyMessage : Message
{
private static long messageCounter = 0;
private static User sender = new User
private static long messageCounter;
private readonly static User sender = new User
{
Username = @"Somebody",
Id = 1,

View File

@ -256,7 +256,6 @@ private void updateMessageContent()
});
}
// Add text after the last link
var lastLink = message.Links[message.Links.Count - 1];
contentFlow.AddText(message.Content.Substring(lastLink.Index + lastLink.Length));
}