Skip to content
Snippets Groups Projects
Commit e205d110 authored by Josh Brooks's avatar Josh Brooks
Browse files

Fix minor bug in channels.SendInvite

parent 5a63e9fa
No related branches found
No related tags found
2 merge requests!109Project/haven beta,!100Xx 4601/haven invites
......@@ -1226,8 +1226,8 @@ func (cm *ChannelsManager) SendInvite(_ js.Value, args []js.Value) any {
msg = args[2].String()
host = args[3].String()
maxUses = args[4].Int()
leaseTimeMS = int64(args[4].Int())
cmixParamsJSON = utils.CopyBytesToGo(args[5])
leaseTimeMS = int64(args[5].Int())
cmixParamsJSON = utils.CopyBytesToGo(args[6])
)
// fixme: add pings to wasm
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment