Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

Commit

Permalink
Shamrock: Rollback 52ec43abf80d6595d1fe3b490ebe1bfc23bf0ab8 commit
Browse files Browse the repository at this point in the history
Signed-off-by: 白池 <[email protected]>
  • Loading branch information
whitechi73 committed Feb 29, 2024
1 parent 3619cba commit 737acfa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ internal object ElemConverter {
chatType = chatType,
size = customFace.size!!.toLong(),
sha = "",
fileId = customFace.fileUuid,
fileId = "",
storeId = 0,
)
)
Expand Down Expand Up @@ -162,7 +162,7 @@ internal object ElemConverter {
chatType = chatType,
size = notOnlineImage.fileLen!!.toLong(),
sha = "",
fileId = notOnlineImage.fileUuid,
fileId = "",
storeId = 0,
)
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ internal object RichProtoSvc: BaseSvc() {
width: UInt = 0u,
height: UInt = 0u
): String {
val isNtServer = !fileId.startsWith("/") || originalUrl.startsWith("/download")
val isNtServer = originalUrl.startsWith("/download")
val domain = if (isNtServer) MULTIMEDIA_DOMAIN else GPRO_PIC
if (originalUrl.isNotEmpty()) {
if (isNtServer && !originalUrl.contains("rkey=")) {
Expand Down Expand Up @@ -196,7 +196,7 @@ internal object RichProtoSvc: BaseSvc() {
height: UInt = 0u,
storeId: Int = 0
): String {
val isNtServer = storeId == 1 || !fileId.startsWith("/") || originalUrl.startsWith("/download")
val isNtServer = storeId == 1 || originalUrl.startsWith("/download")
val domain = if (isNtServer) MULTIMEDIA_DOMAIN else C2C_PIC
if (originalUrl.isNotEmpty()) {
if (fileId.isNotEmpty()) getNtPicRKey(
Expand Down Expand Up @@ -238,7 +238,7 @@ internal object RichProtoSvc: BaseSvc() {
width: UInt = 0u,
height: UInt = 0u
): String {
val isNtServer = !fileId.startsWith("/") || originalUrl.startsWith("/download")
val isNtServer = originalUrl.startsWith("/download")
val domain = if (isNtServer) MULTIMEDIA_DOMAIN else GPRO_PIC
if (originalUrl.isNotEmpty()) {
if (isNtServer && !originalUrl.contains("rkey=")) {
Expand Down

0 comments on commit 737acfa

Please sign in to comment.