You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Thanks for all the queries!
In the "Get all messages for a user", this
AND u2.username = us.search_usernamelooks like it should beAND u2.username != us.search_usernameor else thechannel_or_dm_nameends up always being the senders if its a DM.