diff --git a/src/API/Discord.API/Rest/IChannelService.cs b/src/API/Discord.API/Rest/IChannelService.cs index 07ca4eb51..aeb570f48 100644 --- a/src/API/Discord.API/Rest/IChannelService.cs +++ b/src/API/Discord.API/Rest/IChannelService.cs @@ -9,7 +9,8 @@ namespace Discord.API.Rest internal interface IChannelService { [Get("/v9/channels/{channelId}/messages/{messageId}/ack")] - Task MarkRead([AliasAs("channelId")] ulong channelId, [AliasAs("messageId")] ulong messageId); + [Headers("Content-Type: application/json;")] + Task MarkRead([AliasAs("channelId")] ulong channelId, [AliasAs("messageId")] ulong messageId, [Body] string body = "{token: null}"); [Get("/v9/channels/{channelId}/messages?limit={limit}")] Task GetChannelMessages([AliasAs("channelId")] ulong channelId, [AliasAs("limit")] int limit = 50); diff --git a/src/Quarrel/DataTemplates/ChannelTemplates.xaml b/src/Quarrel/DataTemplates/ChannelTemplates.xaml index 1491c0fac..2e52c66d9 100644 --- a/src/Quarrel/DataTemplates/ChannelTemplates.xaml +++ b/src/Quarrel/DataTemplates/ChannelTemplates.xaml @@ -11,6 +11,14 @@ + + + + + + + - - - - + Icon="Link" Command="{x:Bind CopyLinkCommand}"/>