Skip to content

Commit 46368a8

Browse files
committed
is_united_video_upload
1 parent 0e34776 commit 46368a8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/main/java/ru/spliterash/vkVideoUnlocker/messageChain/handlers/DefaultVideoChain.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class DefaultVideoChain(
6464
val full = video.fullVideo()
6565
val pending = videoSaveService.createPendingVideo(full.toAccessor(), message, editableMessage)
6666
editableMessage.sendOrUpdate(
67-
"Видео не попадает под ограничение: ${ex.restrictionName}.\n" +
67+
"Видео попадает под ограничение: ${ex.restrictionName}.\n" +
6868
"Перезаливать от своего имени я его не буду, но ты можешь сделать это от своего, либо посмотреть по ссылке: \n$url",
6969
keyboard = videoSaveService.createKeyboard(pending.id, full)
7070
)

src/main/java/ru/spliterash/vkVideoUnlocker/video/api/VideosImpl.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ class VideosImpl(
6060
.addQueryParameter("name", name)
6161
.addQueryParameter("privacy_view", if (private) "3" else "0")
6262
.addQueryParameter("group_id", groupId.toString())
63+
.addQueryParameter("is_united_video_upload", "1")
6364
.build()
6465
)
6566
.build()

0 commit comments

Comments
 (0)