Merge branch 'master' of https://github.com/pragmatismo-io/BotServer
# Conflicts: # deploy/whatsapp.gblib/services/WhatsappDirectLine.ts
This commit is contained in:
commit
086697c042
5 changed files with 19 additions and 20 deletions
|
@ -34,27 +34,25 @@
|
|||
<html lang="pt-br" style="width:100%;height:100%">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
|
||||
<link rel="stylesheet" type="text/css" href="./css/botchat.css" />
|
||||
<link rel="stylesheet" type="text/css" href="./css/pragmatismo.css" />
|
||||
<script src="./js/botchat.js"></script>
|
||||
<title>General Bots Community Edition | pragmatismo.io</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
|
||||
<link rel="stylesheet" type="text/css" href="./css/botchat.css" />
|
||||
<link rel="stylesheet" type="text/css" href="./css/pragmatismo.css" />
|
||||
<script src="./js/botchat.js"></script>
|
||||
<title>General Bots Community Edition | pragmatismo.io</title>
|
||||
|
||||
<style>
|
||||
.loader {
|
||||
opacity: 0 !important;
|
||||
filter: opacity(0);
|
||||
|
||||
}
|
||||
</style>
|
||||
<style>
|
||||
.loader {
|
||||
opacity: 0 !important;
|
||||
/* filter: opacity(0); Problem in recent Chrome 68+ */
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body style="background-color: lightgrey;">
|
||||
<div id="root"></div>
|
||||
</body>
|
||||
|
||||
|
||||
</html>
|
|
@ -43,8 +43,8 @@ import { SpeechRecognizer } from "botframework-webchat/CognitiveServices";
|
|||
import { SpeechSynthesizer } from "botframework-webchat/CognitiveServices";
|
||||
import { SynthesisGender } from "botframework-webchat/CognitiveServices";
|
||||
import { Chat } from "botframework-webchat";
|
||||
import { BotChat } from "botframework-webchat";
|
||||
import { Speech } from "botframework-webchat/botchat";
|
||||
// => não está em uso import { BotChat } from "botframework-webchat";
|
||||
// => não está em uso import { Speech } from "botframework-webchat/botchat";
|
||||
import GBPowerBIPlayer from "./players/GBPowerBIPlayer.js";
|
||||
|
||||
class GBUIApp extends React.Component {
|
||||
|
|
|
@ -444,6 +444,7 @@ export class KBService {
|
|||
});
|
||||
}
|
||||
);
|
||||
// TODO Use envoding based on BOM
|
||||
Fs.createReadStream(filePath, {
|
||||
encoding: "UCS-2"
|
||||
}).pipe(parser);
|
||||
|
|
|
@ -205,7 +205,7 @@ export class WhatsappDirectLine extends GBService {
|
|||
// Ignore own messages.
|
||||
// TODO: this.botId instead of "general-bot-9672a8d3"
|
||||
activities = activities.filter((m) => { return (m.from.id === "GeneralBot-Netshoes") && m.type === "message" });
|
||||
|
||||
|
||||
if (activities.length) {
|
||||
|
||||
// Print other messages.
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
"declaration": false,
|
||||
"emitDecoratorMetadata": true,
|
||||
"experimentalDecorators": true,
|
||||
"keyofStringsOnly": true,
|
||||
// "keyofStringsOnly": true, // Habilitar apenas para Typescript 2.9
|
||||
"mapRoot": "./dist/",
|
||||
"module": "commonjs",
|
||||
"moduleResolution": "node",
|
||||
|
|
Loading…
Add table
Reference in a new issue