Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.

Commit

Permalink
Merge pull request #2677 from withspectrum/hotfix-private-channel-mes…
Browse files Browse the repository at this point in the history
…sages

Hotfix prod release to fix messages in private channels
  • Loading branch information
brianlovin authored Mar 30, 2018
2 parents 5fd5831 + 1dfde15 commit 8b4dd44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/mutations/message/addMessage.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export default async (
currentUser.id,
thread.communityId,
]),
loaders.userPermissionsInChannel.load([thread.channelId, currentUser.id]),
loaders.userPermissionsInChannel.load([currentUser.id, thread.channelId]),
loaders.channel.load(thread.channelId),
]
);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Spectrum",
"version": "2.2.1",
"version": "2.2.2",
"private": true,
"devDependencies": {
"babel-cli": "^6.24.1",
Expand Down

0 comments on commit 8b4dd44

Please sign in to comment.