diff --git a/.gitmodules b/.gitmodules index c897314f3..002d0309f 100644 --- a/.gitmodules +++ b/.gitmodules @@ -6,13 +6,13 @@ url=git@github.com:telegramdesktop/libtgvoip url=git@gitlab.com:overtake/Sparkle.git [submodule "submodules/telegram-ios"] path = submodules/telegram-ios -url=git@github.com:overtake/Telegram-iOS.git +url=git@github.com:TelegramMessenger/Telegram-iOS.git [submodule "submodules/rlottie"] path = submodules/rlottie url=git@github.com:overtake/rlottie.git [submodule "submodules/tgcalls"] path = submodules/tgcalls - url = git@github.com:john-preston/tgcalls.git + url = git@github.com:TelegramMessenger/tgcalls.git [submodule "submodules/tg_owt"] path = submodules/tg_owt url = git@github.com:desktop-app/tg_owt.git diff --git a/Telegram-Mac/StickersViewController.swift b/Telegram-Mac/StickersViewController.swift index 4a55614ba..520bc172c 100644 --- a/Telegram-Mac/StickersViewController.swift +++ b/Telegram-Mac/StickersViewController.swift @@ -446,6 +446,12 @@ private func stickersEntries(view: ItemCollectionsView?, context: AccountContext if !view.orderedItemListsViews[0].items.isEmpty { var files:[TelegramMediaFile] = [] + var maxStickers: Int32 = 20 + if context.isPremium { + maxStickers = 82 + } else { + maxStickers = 20 + } for item in view.orderedItemListsViews[0].items { if let entry = item.contents.get(RecentMediaItem.self) { let file = entry.media @@ -456,7 +462,7 @@ private func stickersEntries(view: ItemCollectionsView?, context: AccountContext } } } - if files.count == 20 { + if files.count == maxStickers { break } }