diff --git a/Emulsion.Telegram/Emulsion.Telegram.fsproj b/Emulsion.Telegram/Emulsion.Telegram.fsproj index 0854a367..d5d4d9a3 100644 --- a/Emulsion.Telegram/Emulsion.Telegram.fsproj +++ b/Emulsion.Telegram/Emulsion.Telegram.fsproj @@ -11,8 +11,8 @@ - - + + diff --git a/Emulsion.Telegram/Funogram.fs b/Emulsion.Telegram/Funogram.fs index 9381b716..9513998f 100644 --- a/Emulsion.Telegram/Funogram.fs +++ b/Emulsion.Telegram/Funogram.fs @@ -172,7 +172,6 @@ module MessageConverter = match message.ForwardOrigin with | Some(User { SenderUser = user }) -> Some (getUserDisplayName user) | Some(HiddenUser { SenderUserName = name }) -> Some name - // TODO: For the last two, there's AuthorSignature field. Probably we should try using it? | Some(MessageOrigin.Chat { SenderChat = chat }) -> Some (getChatDisplayName chat) | Some(MessageOrigin.Channel { Chat = chat }) -> Some (getChatDisplayName chat) | _ -> None diff --git a/Emulsion.Tests/Telegram/LinkGeneratorTests.fs b/Emulsion.Tests/Telegram/LinkGeneratorTests.fs index be240908..d728047e 100644 --- a/Emulsion.Tests/Telegram/LinkGeneratorTests.fs +++ b/Emulsion.Tests/Telegram/LinkGeneratorTests.fs @@ -2,12 +2,14 @@ open System -open Emulsion.ContentProxy open Funogram.Telegram.Types +open Serilog.Core open Xunit +open Emulsion.ContentProxy open Emulsion.Database open Emulsion.Settings +open Emulsion.Telegram open Emulsion.TestFramework let private hostingSettings = {