-
Notifications
You must be signed in to change notification settings - Fork 617
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MSTeams threading #1240
base: master
Are you sure you want to change the base?
MSTeams threading #1240
Conversation
Code Climate has analyzed commit 89f3abe and detected 0 issues on this pull request. View more on Code Climate. |
if replyerr != nil { | ||
return nil, replyerr | ||
} | ||
rct = append(rct, replyct...) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just starting to discover Go, so this might not be the way to do this
Thanks for taking a look at this! 👍
Yes, that's why I didn't include it in my PR because with thousands of messages this becomes very very slow. According to the most recent graph changelog: https://docs.microsoft.com/en-us/graph/changelog#teamwork they've fixed my issue https://github.com/microsoftgraph/microsoft-graph-docs-contrib/issues/6097 wrt to
So for the replies you can now keep state and see if this property has changed, if so there's a new reply. |
@42wim thanks for the tip, I'll look into using |
@42wim sounds like the Delta query would be very useful, but that doesn't seem to be available in the library we're using. Sounds like the code generator there needs to be fixed too (yaegashi/msgraph.go#22). Any suggestion for the best way to move forward? |
Well, I've also looked into delta when implementing support for msteams. (I've added the methods myself then) So I'd go with my previous suggestion (or you can try to add delta in a forked library, maybe it's fixed) |
Just pulled this code down and set the PreserveThreading config and it looks like it worked for me! |
Would love to get some early feedback on this.
TODO:
PreserveThreading
is now an option for MSteams.