diff --git a/README.md b/README.md index 4a6aa97f..e1e0282f 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier) + ** **Checkout our FREE [Intranet Quickstart Bot](https://github.com/pragmatismo-io/IntranetBotQuickStart.gbai)** ** Welcome to General Bot Community Edition @@ -204,6 +206,7 @@ Discontinued commands: * David Lerner (david.lerner@hotmail.com) - UI, UX & Theming. * Eduardo Romeiro (eromeirosp@outlook.com) - Content & UX. * Jorge Ramos (jramos@pobox.com) - Coding, Docs & Architecture. +* PH Nascimento (ph.an@outlook.com) - Product Manager Powered by Microsoft [BOT Framework](https://dev.botframework.com/) and [Azure](http://www.azure.com). diff --git a/docs/_config.yml b/docs/_config.yml new file mode 100644 index 00000000..2f7efbea --- /dev/null +++ b/docs/_config.yml @@ -0,0 +1 @@ +theme: jekyll-theme-minimal \ No newline at end of file diff --git a/docs/images/general-bots-stack.png b/docs/images/general-bots-stack.png index d78bfabb..2910fc0c 100644 Binary files a/docs/images/general-bots-stack.png and b/docs/images/general-bots-stack.png differ diff --git a/docs/images/generalbots-logo-squared.png b/docs/images/generalbots-logo-squared.png new file mode 100644 index 00000000..ba6923fa Binary files /dev/null and b/docs/images/generalbots-logo-squared.png differ diff --git a/packages/whatsapp.gblib/services/WhatsappDirectLine.ts b/packages/whatsapp.gblib/services/WhatsappDirectLine.ts index 0ed4d10f..8d8f8c03 100644 --- a/packages/whatsapp.gblib/services/WhatsappDirectLine.ts +++ b/packages/whatsapp.gblib/services/WhatsappDirectLine.ts @@ -202,8 +202,8 @@ export class WhatsappDirectLine extends GBService { if (activities && activities.length) { // Ignore own messages. - // TODO: this.botId instead of "general-bot-9672a8d3" - activities = activities.filter((m) => { return (m.from.id === "GeneralBots") && m.type === "message" }) + + activities = activities.filter((m) => { return (m.from.id === "GeneralBots") && m.type === "message" }) if (activities.length) { @@ -265,4 +265,4 @@ export class WhatsappDirectLine extends GBService { const result = await request.get(options) } -} \ No newline at end of file +}