Skip to content

Commit

Permalink
Merge pull request #120 from dialectlabs/fix/send-message-return
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiryous authored Jun 9, 2022
2 parents 1f21ab0 + 20adaab commit 74e4ace
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ export async function sendMessage(
},
);
const d = await getDialect(program, publicKey, encryptionProps);
return d.dialect.messages[d.dialect.nextMessageIdx - 1]; // TODO: Support ring
return d.dialect.messages[0]; // TODO: Support ring
}

// Events
Expand Down

0 comments on commit 74e4ace

Please sign in to comment.