Skip to content

Commit 8085851

Browse files
authored
Merge pull request #4 from yutingzeng/master
fix:修复PrivateMapSig中字符串房间号错误
2 parents df14400 + 848dd4d commit 8085851

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TLSSigAPIv2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ Api.prototype._genUserbuf = function (account, dwAuthID, dwExpTime,
138138

139139
//roomstr
140140
for (; offset < length; ++offset) {
141-
userBuf[offset] = account.charCodeAt(offset - (length - roomstr.length));
141+
userBuf[offset] = roomstr.charCodeAt(offset - (length - roomstr.length));
142142
}
143143
}
144144

0 commit comments

Comments
 (0)