Remove image upload flags (#10687)
This commit is contained in:
@@ -877,24 +877,12 @@ export const ComposePost = ({
|
||||
try {
|
||||
logger.info(`composer: posting...`)
|
||||
postUri = (
|
||||
await apilib.post(
|
||||
agent,
|
||||
queryClient,
|
||||
{
|
||||
thread: filteredThread,
|
||||
replyTo: replyTo?.uri,
|
||||
onStateChange: setPublishingStage,
|
||||
langs: currentLanguages,
|
||||
},
|
||||
{
|
||||
highResolutionImages: ax.features.enabled(
|
||||
ax.features.ImageUploadsHighResolution,
|
||||
),
|
||||
increasedBlobSizeLimit: ax.features.enabled(
|
||||
ax.features.ImageUploadsBlobSize2mbEnabled,
|
||||
),
|
||||
},
|
||||
)
|
||||
await apilib.post(agent, queryClient, {
|
||||
thread: filteredThread,
|
||||
replyTo: replyTo?.uri,
|
||||
onStateChange: setPublishingStage,
|
||||
langs: currentLanguages,
|
||||
})
|
||||
).uris[0]
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user