|
|
@ -260,8 +260,8 @@ namespace DiscordChatExporter.Gui.ViewModels
|
|
|
|
var progressHandler = new Progress<double>(p => Progress = p);
|
|
|
|
var progressHandler = new Progress<double>(p => Progress = p);
|
|
|
|
|
|
|
|
|
|
|
|
// Get chat log
|
|
|
|
// Get chat log
|
|
|
|
var chatLog = await _dataService.GetChatLogAsync(token, dialog.Guild.Model, dialog.Channel.Model,
|
|
|
|
var chatLog = await _dataService.GetChatLogAsync(token, dialog.Guild, dialog.Channel, dialog.From,
|
|
|
|
dialog.From, dialog.To, progressHandler);
|
|
|
|
dialog.To, progressHandler);
|
|
|
|
|
|
|
|
|
|
|
|
// Export
|
|
|
|
// Export
|
|
|
|
_exportService.ExportChatLog(chatLog, dialog.FilePath, dialog.SelectedFormat,
|
|
|
|
_exportService.ExportChatLog(chatLog, dialog.FilePath, dialog.SelectedFormat,
|
|
|
|