You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/IO.Ably.Shared/Realtime/ChannelMessageProcessor.cs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -95,10 +95,10 @@ public Task<bool> MessageReceived(ProtocolMessage protocolMessage, RealtimeState
95
95
break;
96
96
caseProtocolMessage.MessageAction.Message:
97
97
98
-
if(channel.State==ChannelState.Attaching)
98
+
if(channel.State!=ChannelState.Attached)
99
99
{
100
100
Logger.Warning(
101
-
$"Channel #{channel.Name} is currently in Attaching state. Messages received in this state are ignored. Ignoring ${protocolMessage.Messages?.Length??0} messages");
101
+
$"Channel #{channel.Name} is currently in #{channel.State} state. Messages received in this state are ignored. Ignoring {protocolMessage.Messages?.Length??0} messages");
0 commit comments