mirror of
https://github.com/wiz0u/WTelegramClient.git
synced 2026-04-05 14:35:43 +00:00
GUI compatibility: Detach interactive Config calls from MainThread
This commit is contained in:
parent
409cf25619
commit
934ee9bae4
3 changed files with 11 additions and 10 deletions
|
|
@ -21,7 +21,7 @@ namespace WTelegramClientTest
|
|||
|
||||
async void Client_Update(IObject arg)
|
||||
{
|
||||
if (arg is not Updates { updates: var updates }) return;
|
||||
if (arg is not Updates { updates: var updates } upd) return;
|
||||
foreach (var update in updates)
|
||||
{
|
||||
if (update is not UpdateNewMessage { message: Message message })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue