Shouldn't cause crash.
App crashes.
Operating system:
Windows 10
Version of Telegram Desktop:
1.8.12
Used theme:
Standard night mode
Logs:
Insert log.txt here (if necessary)
It sure does! Windows 10.. "Tinted" night theme....
I've located the issue of the crash via reverse engineering with a debugger.
Seems there's a null entry or null pointer in the 'b' emoji name suggestion list and the crash is caused by dereferencing a nullptr. It happens after trying to suggest 'bath' and the the next entry is nullptr.

Lucky for you guys, this is 100% reproducible and should be easy to fix :D
Edit:
Can confirm this is exactly after bath. Simply typing ':abat' , removing the 'a', it will result in a crash since the nullptr entry is directly after 'bath' in the list. Should be way easier to debug/step through doing it this way instead of stepping through that line of code 60+ times xD
Most helpful comment
I've located the issue of the crash via reverse engineering with a debugger.
Seems there's a null entry or null pointer in the 'b' emoji name suggestion list and the crash is caused by dereferencing a nullptr. It happens after trying to suggest 'bath' and the the next entry is nullptr.
Lucky for you guys, this is 100% reproducible and should be easy to fix :D
Edit:
Can confirm this is exactly after bath. Simply typing ':abat' , removing the 'a', it will result in a crash since the nullptr entry is directly after 'bath' in the list. Should be way easier to debug/step through doing it this way instead of stepping through that line of code 60+ times xD