feat: add input channels

This commit is contained in:
Anna
2022-01-06 15:57:24 -05:00
parent a6bda4dd63
commit 663ce5dbbd
4 changed files with 69 additions and 2 deletions
+2
View File
@@ -20,6 +20,7 @@ internal class Tab {
public Dictionary<ChatType, ChatSource> ChatCodes = new();
public bool DisplayUnread = true;
public bool DisplayTimestamp = true;
public InputChannel? Channel;
[NonSerialized]
public uint Unread;
@@ -56,6 +57,7 @@ internal class Tab {
ChatCodes = this.ChatCodes.ToDictionary(entry => entry.Key, entry => entry.Value),
DisplayUnread = this.DisplayUnread,
DisplayTimestamp = this.DisplayTimestamp,
Channel = this.Channel,
};
}
}