feat: add links to chunks

This commit is contained in:
Anna
2021-12-29 14:44:05 -05:00
parent f17a913405
commit 1d9581abca
4 changed files with 34 additions and 11 deletions
+2 -2
View File
@@ -86,11 +86,11 @@ internal class Store : IDisposable {
var senderChunks = new List<Chunk>();
if (formatting is { IsPresent: true }) {
senderChunks.Add(new TextChunk(formatting.Before) {
senderChunks.Add(new TextChunk(null, formatting.Before) {
FallbackColour = chatCode.Type,
});
senderChunks.AddRange(ChunkUtil.ToChunks(sender, chatCode.Type));
senderChunks.Add(new TextChunk(formatting.After) {
senderChunks.Add(new TextChunk(null, formatting.After) {
FallbackColour = chatCode.Type,
});
}