Expose server link kind and authorization failures in Qt
This commit is contained in:
1 parent
f2a8e0dfa5
commit
8d8a64eff5
3 files changed
+8
-3
No files matched your search
@@ -16,7 +16,7 @@ InviteData decodeInviteLink(const QString& link) {
|
||||
if (invite_link_decode(bytes.constData(), (size_t)bytes.size(), &data, error, sizeof(error))) {
|
||||
result.error = QString::fromUtf8(error); return result;
|
||||
}
|
||||
result.channelId = data.channelId; result.joinKey = data.join_key;
|
||||
result.kind = data.kind; result.channelId = data.channelId; result.joinKey = data.join_key;
|
||||
result.pubkey = QByteArray((const char*)data.pubkey, 32);
|
||||
result.password = QString::fromUtf8(data.password, data.password_len);
|
||||
result.reality.has = data.reality.has;
|
||||
|
||||
Reference in new issue
Block a user