new (basic.gbapp): NOTE keyword.
This commit is contained in:
parent
fb429717dc
commit
bd4d36bc68
2 changed files with 5 additions and 8 deletions
|
@ -1180,7 +1180,7 @@ export class DialogKeywords {
|
|||
|
||||
url = urlJoin(GBServer.globals.publicAddress, min.botId, 'cache', Path.basename(localName));
|
||||
|
||||
GBLog.info(`BASIC: WebAutomation: Sending ${url} to mobile ${mobile}.`);
|
||||
GBLog.info(`BASIC: WebAutomation: Sending ${url} to ${mobile} (${channel}).`);
|
||||
}
|
||||
|
||||
// GBFILE object.
|
||||
|
@ -1188,7 +1188,7 @@ export class DialogKeywords {
|
|||
url = filename.url;
|
||||
nameOnly = Path.basename(filename.localName);
|
||||
|
||||
GBLog.info(`BASIC: Sending the GBFILE ${url} to mobile ${mobile}.`);
|
||||
GBLog.info(`BASIC: Sending the GBFILE ${url} to ${mobile} (${channel}).`);
|
||||
}
|
||||
// Handles Markdown.
|
||||
else if (filename.indexOf('.md') > -1) {
|
||||
|
|
|
@ -908,7 +908,6 @@ export class GBMinService {
|
|||
|
||||
const step = await min.dialogs.createContext(context);
|
||||
step.context.activity.locale = 'pt-BR';
|
||||
let firstTime = false;
|
||||
|
||||
const member = context.activity.from;
|
||||
const sec = new SecService();
|
||||
|
@ -938,8 +937,6 @@ export class GBMinService {
|
|||
await sec.setParam(userId, 'theme', 'white');
|
||||
await sec.setParam(userId, 'maxColumns', 40);
|
||||
|
||||
firstTime = true;
|
||||
|
||||
// This same event is dispatched either to all participants
|
||||
// including the bot, that is filtered bellow.
|
||||
|
||||
|
@ -949,7 +946,7 @@ export class GBMinService {
|
|||
// Stores conversation associated to the user to group each message.
|
||||
|
||||
const analytics = new AnalyticsService();
|
||||
const conversation = await analytics.createConversation(user);
|
||||
await analytics.createConversation(user);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue