This commit is contained in:
JJTech0130 2023-09-23 21:52:56 -04:00
parent 44c1987240
commit 28f2072ae6
No known key found for this signature in database
GPG key ID: 23C92EBCCF8F93D6
2 changed files with 7 additions and 5 deletions

View file

@ -43,7 +43,7 @@ except FileNotFoundError:
CONFIG = {} CONFIG = {}
# Re-register if the commit hash has changed # Re-register if the commit hash has changed
if CONFIG.get("commit_hash") != commit_hash or True: if CONFIG.get("commit_hash") != commit_hash:
logging.warning("pypush commit is different, forcing re-registration...") logging.warning("pypush commit is different, forcing re-registration...")
CONFIG["commit_hash"] = commit_hash CONFIG["commit_hash"] = commit_hash
if "id" in CONFIG: if "id" in CONFIG:

View file

@ -204,10 +204,10 @@ def register(
"supports-dq-nr": True, "supports-dq-nr": True,
"public-message-identity-ngm-version": 12.0, "public-message-identity-ngm-version": 12.0,
"supports-audio-messaging-v2": True, "supports-audio-messaging-v2": True,
#"ngm-public-identity": ngm.generate_loggable_data() "ngm-public-identity": ngm.generate_loggable_data()
}, },
"kt-loggable-data": ngm.generate_loggable_data(), #"kt-loggable-data": ngm.generate_loggable_data(),
"kt-mismatch-account-flag": True, #"kt-mismatch-account-flag": False,
"uris": uris, "uris": uris,
"user-id": user_id, "user-id": user_id,
} }
@ -240,9 +240,11 @@ def register(
"supports-self-one-to-one-invites": True, "supports-self-one-to-one-invites": True,
"supports-modern-gft": True, "supports-modern-gft": True,
"public-message-identity-ngm-version": 12.0, "public-message-identity-ngm-version": 12.0,
"ngm-public-identity": ngm.generate_loggable_data()
#"device-key-signature": b"0a\x04\x14\x1d\xb02~\xefk&\xf8\r;R\xa4\x95c~\x8a\x90H\x85\xb0\x02\x01\x01\x04F0D\x02 @\xce\xa7P6\x89\x92Wf\x87\xc9\xc5M-\xb1\xe5Q\x9f\x7fKi\x1bp\xd5\x12\x1c,:\xdb\xed\x08\x12\x02 l\xfd\\\xe2\xd3:,\xc1\xd8\x08|\xbe\x05M\x12\xee@\xc2=eR8:\xa7h3u|\x83ia\x19", #"device-key-signature": b"0a\x04\x14\x1d\xb02~\xefk&\xf8\r;R\xa4\x95c~\x8a\x90H\x85\xb0\x02\x01\x01\x04F0D\x02 @\xce\xa7P6\x89\x92Wf\x87\xc9\xc5M-\xb1\xe5Q\x9f\x7fKi\x1bp\xd5\x12\x1c,:\xdb\xed\x08\x12\x02 l\xfd\\\xe2\xd3:,\xc1\xd8\x08|\xbe\x05M\x12\xee@\xc2=eR8:\xa7h3u|\x83ia\x19",
}, },
"kt-loggable-data": ngm.generate_loggable_data(), # "kt-loggable-data": ngm.generate_loggable_data(),
"uris": uris, "uris": uris,
"user-id": user_id, "user-id": user_id,