Skip to content
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

Don't use the session user in ConversationModel #2793

Merged
merged 1 commit into from Jun 4, 2015
Merged

Don't use the session user in ConversationModel #2793

merged 1 commit into from Jun 4, 2015

Conversation

bleistivt
Copy link
Contributor

When programatically sending messages to the current user (e.g. from a bot user), the InsertUserID gets a notification but the receiving user does not, because it excludes the session user (as opposed to the insert user) from the notifications.

This commit changes the behaviour to excluding the InsertUserID to make the Save() function session independent.

When programatically sending messages to the current user (e.g. from a bot user), the InsertUserID gets a notification but the receiving user does not, because it excludes the session user (as opposed to the insert user) from the notifications.

This commit changes the behaviour to excluding the InsertUserID to make the Save() function session independent.
@linc
Copy link
Contributor

linc commented Jun 4, 2015

I like it.

linc added a commit that referenced this pull request Jun 4, 2015
Don't use the session user in ConversationModel
@linc linc merged commit 78b72a4 into vanilla:master Jun 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants