Skip to content

Commit 9537326

Browse files
Morgan MoonMorgan Moon
authored andcommitted
Correct null check for signal callback
1 parent 450de5c commit 9537326

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PubNubUnity/Assets/PubNub/PubNubUnity/PubNubUnity.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public void AddListener(Action<PNStatus> statusCallback, Action<PNMessageResult>
7979
if(mea.PresenceEventResult != null){
8080
presenceCallback(mea.PresenceEventResult);
8181
}
82-
if(mea.MessageResult != null){
82+
if(mea.SignalEventResult != null){
8383
signalCallback(mea.SignalEventResult);
8484
}
8585
if(mea.UserEventResult != null){

0 commit comments

Comments
 (0)