FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Remove the unnecessary filtering, the bot itself has been filtered out already in ActivityHandler.java by fredrikluo · Pull Request #453 · microsoft/botbuilder-java · GitHub

This repository was archived by the owner on Dec 4, 2023. It is now read-only.
/ botbuilder-java Public archive

Remove the unnecessary filtering, the bot itself has been filtered out already in ActivityHandler.java - #453

Merged
tracyboehrer (tracyboehrer) merged 1 commit into
microsoft:masterfrom
fredrikluo:remove-unnecessary-filtering
Apr 17, 2020
Merged

Remove the unnecessary filtering, the bot itself has been filtered out already in ActivityHandler.java#453
tracyboehrer (tracyboehrer) merged 1 commit into
microsoft:masterfrom
fredrikluo:remove-unnecessary-filtering

Conversation

Copy link
Copy Markdown
Contributor

The bot itself has been filtered in activityHandler.java see:

.anyMatch(m -> !StringUtils.equals(m.getId(), activity.getRecipient().getId()))

Suggest removing this line from the sample since it's quite confusing, it could lead people to think onMembersAdded will be called when the bot is added to the channel, which is reasonable since bot service does send out MemebersAdd when a bot is added.

This, of course, will never happen.

Copy link
Copy Markdown
Member

Fredrik (Zhiyu) Luo (@fredrikluo) Thanks! I'll look into the build issue. I don't believe it's related to your PR.

tracyboehrer (tracyboehrer) merged commit f42fc99 into microsoft:master Apr 17, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL