Skip to content
This repository was archived by the owner on Jul 17, 2020. It is now read-only.

Commit 346c564

Browse files
committed
handle Feeds stuff.
1 parent 74c974c commit 346c564

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/bot.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,8 @@ var bot = window.bot = {
159159
return (
160160
//make sure we don't process our own messages,
161161
msgObj.user_id !== bot.adapter.user_id &&
162+
//make sure we don't process Feeds
163+
msgObj.user_id > 0 &&
162164
//and the message begins with the invocationPattern
163165
msg.startsWith( this.invocationPattern ) );
164166
},

0 commit comments

Comments
 (0)