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

Commit 4421c4e

Browse files
committed
Fix messages in private channels
Resolves #2675
1 parent 5fd5831 commit 4421c4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/mutations/message/addMessage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export default async (
103103
currentUser.id,
104104
thread.communityId,
105105
]),
106-
loaders.userPermissionsInChannel.load([thread.channelId, currentUser.id]),
106+
loaders.userPermissionsInChannel.load([currentUser.id, thread.channelId]),
107107
loaders.channel.load(thread.channelId),
108108
]
109109
);

0 commit comments

Comments
 (0)