Dear developers, please add this feature! As I saw it also in gp comments as most wanted!
• Increase any pin limit to unlimited!
Many thanks in advance!
We could edit maxPinnedCount variable here:
https://github.com/Telegram-FOSS-Team/Telegram-FOSS/blob/c0f8b38583b0f456dee1f55a51867e8ad2c38841/TMessagesProj/src/main/java/org/telegram/ui/DialogsActivity.java#L2171
However, I believe makes no sense to have unlimited pin. I think that 10 is a good value
I think that if 10 is a good max value for you, you can always only pin 10 chats for yourself, but why limit that number to other people that maybe would want more? I think the best value is unlimited so that every person can decide for themself how many chats they want pinned.
Yes, you're right. So it's more easy to do it. delete these lines:
https://github.com/Telegram-FOSS-Team/Telegram-FOSS/blob/c0f8b38583b0f456dee1f55a51867e8ad2c38841/TMessagesProj/src/main/java/org/telegram/ui/DialogsActivity.java#L2171-L2185
and apply other small tricks.
Most helpful comment
I think that if 10 is a good max value for you, you can always only pin 10 chats for yourself, but why limit that number to other people that maybe would want more? I think the best value is unlimited so that every person can decide for themself how many chats they want pinned.