coltoneshaw / coltoneshaw/Mattermost-SQL-Queries

"To" user incorrect on Get all messages for a user

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
14
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Thanks for all the queries!

In the "Get all messages for a user", this `AND u2.username = us.search_username` looks like it should be `AND u2.username != us.search_username` or else the `channel_or_dm_name` ends up always being the senders if its a DM.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.