N Neojoy Member Licensed User Longtime User Aug 30, 2013 #1 Hi, I'm facing a problem with SI_MessageReceived, all messages received appears in duplicate. This is my code: Sub SI_MessageReceived (From As String, Body As String) As Boolean Log("My message: " & Body) Return False End Sub Output: My message: 1234 My message: 1234 Is there some parameter to prevent this or I got to check the last message, if different I discard. Thank's
Hi, I'm facing a problem with SI_MessageReceived, all messages received appears in duplicate. This is my code: Sub SI_MessageReceived (From As String, Body As String) As Boolean Log("My message: " & Body) Return False End Sub Output: My message: 1234 My message: 1234 Is there some parameter to prevent this or I got to check the last message, if different I discard. Thank's
Erel B4X founder Staff member Licensed User Longtime User Aug 31, 2013 #2 Are you sure that you haven't initialized SI more than once? Upvote 0
N Neojoy Member Licensed User Longtime User Sep 2, 2013 #3 I really was initializing more than once, I found out the mistake before your answer Eriel. My fault Thanks Upvote 0
I really was initializing more than once, I found out the mistake before your answer Eriel. My fault Thanks