Skip to content

Commit

Permalink
Add Olm prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
florianduros committed Oct 24, 2023
1 parent 6fe2eb7 commit 64f6c99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/unit/crypto.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ describe("Crypto", function () {

const olmVersionTuple = Crypto.getOlmVersion();
expect(client.getCrypto()?.getVersion()).toBe(
`${olmVersionTuple[0]}.${olmVersionTuple[1]}.${olmVersionTuple[2]}`,
`Olm ${olmVersionTuple[0]}.${olmVersionTuple[1]}.${olmVersionTuple[2]}`,
);
});

Expand Down
2 changes: 1 addition & 1 deletion src/crypto/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ export class Crypto extends TypedEventEmitter<CryptoEvent, CryptoEventHandlerMap
*/
public getVersion(): string {
const olmVersionTuple = Crypto.getOlmVersion();
return `${olmVersionTuple[0]}.${olmVersionTuple[1]}.${olmVersionTuple[2]}`;
return `Olm ${olmVersionTuple[0]}.${olmVersionTuple[1]}.${olmVersionTuple[2]}`;
}

/**
Expand Down

0 comments on commit 64f6c99

Please sign in to comment.