From 696fbd17facb9e7d52f1bdb6934fdba25e1cecd7 Mon Sep 17 00:00:00 2001 From: Muzzammil Shahid Date: Thu, 1 Aug 2024 14:33:41 +0500 Subject: [PATCH] realm: handle received error message --- lib/src/realm.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/src/realm.dart b/lib/src/realm.dart index 7e4d619..02bae0b 100644 --- a/lib/src/realm.dart +++ b/lib/src/realm.dart @@ -37,6 +37,7 @@ class Realm { case Yield.id: case Register.id: case Unregister.id: + case Error.id: MessageWithRecipient recipient = _dealer.receiveMessage(sessionID, msg); var client = _clients[recipient.recipient]; client?.sendMessage(recipient.message);