Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
Olm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nheko Reborn
Olm
Commits
50cd2b2a
Commit
50cd2b2a
authored
8 years ago
by
Richard van der Hoff
Browse files
Options
Downloads
Patches
Plain Diff
Clean up some typos
Remove redundant args from some js funcs, and fix a comment typo
parent
7c84ce80
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/olm/outbound_group_session.h
+1
-1
1 addition, 1 deletion
include/olm/outbound_group_session.h
javascript/olm_outbound_group_session.js
+3
-3
3 additions, 3 deletions
javascript/olm_outbound_group_session.js
with
4 additions
and
4 deletions
include/olm/outbound_group_session.h
+
1
−
1
View file @
50cd2b2a
...
...
@@ -160,7 +160,7 @@ size_t olm_outbound_group_session_key_length(
/**
* Get the base64-encoded current ratchet key for this session.
*
* Each message is sent with a diffent ratchet key. This function returns the
* Each message is sent with a diffe
re
nt ratchet key. This function returns the
* ratchet key that will be used for the next message.
*
* Returns the length of the ratchet key on success or olm_error() on
...
...
This diff is collapsed.
Click to expand it.
javascript/olm_outbound_group_session.js
+
3
−
3
View file @
50cd2b2a
...
...
@@ -53,7 +53,7 @@ OutboundGroupSession.prototype['unpickle'] = restore_stack(function(key, pickle)
);
});
OutboundGroupSession
.
prototype
[
'
create
'
]
=
restore_stack
(
function
(
key
)
{
OutboundGroupSession
.
prototype
[
'
create
'
]
=
restore_stack
(
function
()
{
var
random_length
=
outbound_group_session_method
(
Module
[
'
_olm_init_outbound_group_session_random_length
'
]
)(
this
.
ptr
);
...
...
@@ -78,7 +78,7 @@ OutboundGroupSession.prototype['encrypt'] = restore_stack(function(plaintext) {
return
Pointer_stringify
(
message_buffer
);
});
OutboundGroupSession
.
prototype
[
'
session_id
'
]
=
restore_stack
(
function
(
key
)
{
OutboundGroupSession
.
prototype
[
'
session_id
'
]
=
restore_stack
(
function
()
{
var
length
=
outbound_group_session_method
(
Module
[
'
_olm_outbound_group_session_id_length
'
]
)(
this
.
ptr
);
...
...
@@ -89,7 +89,7 @@ OutboundGroupSession.prototype['session_id'] = restore_stack(function(key) {
return
Pointer_stringify
(
session_id
);
});
OutboundGroupSession
.
prototype
[
'
session_key
'
]
=
restore_stack
(
function
(
key
)
{
OutboundGroupSession
.
prototype
[
'
session_key
'
]
=
restore_stack
(
function
()
{
var
key_length
=
outbound_group_session_method
(
Module
[
'
_olm_outbound_group_session_key_length
'
]
)(
this
.
ptr
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment