overtake / TelegramSwift

Source code of Telegram for macos on Swift 5.0
https://macos.telegram.org
GNU General Public License v2.0
5.07k stars 857 forks source link

Fix last music bug #1165

Open mehrbodjavadi79 opened 3 months ago

mehrbodjavadi79 commented 3 months ago

it should not be complete() if the user had set the random order

CLAassistant commented 3 months ago

CLA assistant check
All committers have signed the CLA.

mehrbodjavadi79 commented 3 months ago

I faced this problem personally. I always select the last(first in other sense) music in my channel (or any music channel) and I change orderState to random and leave Telegram for other things to do. After the selected track finishes, no other music plays. This patch should hopefully fix the issue.