mirror of
https://github.com/whitechi73/OpenShamrock.git
synced 2024-08-14 13:12:17 +08:00
Shamrock
: Rollback 52ec43abf80d6595d1fe3b490ebe1bfc23bf0ab8
commit
Signed-off-by: 白池 <whitechi73@outlook.com>
This commit is contained in:
parent
3619cba33c
commit
737acfa41b
@ -119,7 +119,7 @@ internal object ElemConverter {
|
||||
chatType = chatType,
|
||||
size = customFace.size!!.toLong(),
|
||||
sha = "",
|
||||
fileId = customFace.fileUuid,
|
||||
fileId = "",
|
||||
storeId = 0,
|
||||
)
|
||||
)
|
||||
@ -162,7 +162,7 @@ internal object ElemConverter {
|
||||
chatType = chatType,
|
||||
size = notOnlineImage.fileLen!!.toLong(),
|
||||
sha = "",
|
||||
fileId = notOnlineImage.fileUuid,
|
||||
fileId = "",
|
||||
storeId = 0,
|
||||
)
|
||||
)
|
||||
|
@ -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=")) {
|
||||
@ -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(
|
||||
@ -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=")) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user