Update WhatsappDirectLine.ts
This commit is contained in:
parent
4d9ba23fdd
commit
9f8bab3a6b
1 changed files with 3 additions and 3 deletions
|
@ -202,7 +202,7 @@ export class WhatsappDirectLine extends GBService {
|
||||||
if (activities && activities.length) {
|
if (activities && activities.length) {
|
||||||
|
|
||||||
// Ignore own messages.
|
// 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) {
|
if (activities.length) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue