We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc5f31b commit e6df7afCopy full SHA for e6df7af
src/hooks/useSendMessage.ts
@@ -41,7 +41,7 @@ const useSendMessage = () => {
41
const room = rooms.find((room) => room.roomId === roomId);
42
43
if (room && !room.groupName) {
44
- // Find the opposing user ID among one-to-one room participants
+ // Find the opposite user ID among one-to-one room participants
45
const oppositeUserId = room.participants.find(
46
(id) => id !== selfUser?._id && !id.startsWith("system"),
47
);
0 commit comments