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));
|
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.
|
// GBFILE object.
|
||||||
|
@ -1188,7 +1188,7 @@ export class DialogKeywords {
|
||||||
url = filename.url;
|
url = filename.url;
|
||||||
nameOnly = Path.basename(filename.localName);
|
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.
|
// Handles Markdown.
|
||||||
else if (filename.indexOf('.md') > -1) {
|
else if (filename.indexOf('.md') > -1) {
|
||||||
|
|
|
@ -908,8 +908,7 @@ export class GBMinService {
|
||||||
|
|
||||||
const step = await min.dialogs.createContext(context);
|
const step = await min.dialogs.createContext(context);
|
||||||
step.context.activity.locale = 'pt-BR';
|
step.context.activity.locale = 'pt-BR';
|
||||||
let firstTime = false;
|
|
||||||
|
|
||||||
const member = context.activity.from;
|
const member = context.activity.from;
|
||||||
const sec = new SecService();
|
const sec = new SecService();
|
||||||
const user = await sec.ensureUser(instance.instanceId, member.id, member.name, '', 'web', member.name, null);
|
const user = await sec.ensureUser(instance.instanceId, member.id, member.name, '', 'web', member.name, null);
|
||||||
|
@ -937,9 +936,7 @@ export class GBMinService {
|
||||||
await sec.setParam(userId, 'wholeWord', true);
|
await sec.setParam(userId, 'wholeWord', true);
|
||||||
await sec.setParam(userId, 'theme', 'white');
|
await sec.setParam(userId, 'theme', 'white');
|
||||||
await sec.setParam(userId, 'maxColumns', 40);
|
await sec.setParam(userId, 'maxColumns', 40);
|
||||||
|
|
||||||
firstTime = true;
|
|
||||||
|
|
||||||
// This same event is dispatched either to all participants
|
// This same event is dispatched either to all participants
|
||||||
// including the bot, that is filtered bellow.
|
// including the bot, that is filtered bellow.
|
||||||
|
|
||||||
|
@ -949,7 +946,7 @@ export class GBMinService {
|
||||||
// Stores conversation associated to the user to group each message.
|
// Stores conversation associated to the user to group each message.
|
||||||
|
|
||||||
const analytics = new AnalyticsService();
|
const analytics = new AnalyticsService();
|
||||||
const conversation = await analytics.createConversation(user);
|
await analytics.createConversation(user);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue