Subject: IqFilter in Onlogon Event
Hello,
I am having an issue firing an iqfilter from the onlogon event. I know my iqfilte settings are correct as it will execute on the streams once logon was done previously at startup of the form. I would like to login with a special account and do something before logging out. This is the code for the onlogon event:
The function "UserResponse" is not firing. By the way it doesn't work for OnBind either.
Regards,
Will
I am having an issue firing an iqfilter from the onlogon event. I know my iqfilte settings are correct as it will execute on the streams once logon was done previously at startup of the form. I would like to login with a special account and do something before logging out. This is the code for the onlogon event:
- {
- Type = IqType.Get,
- To = _listSystemSettings[0].DomainName,
- };
- //Set the type of Stanza
- checkUserIdIq.CheckUserStatus.SetAttribute("type", "CHECK");
- // Send the Stanza to the server using IqFilter
- _xmppAdmin.IqFilter.SendIq(checkUserIdIq, UserResponse, "CHECK");
The function "UserResponse" is not firing. By the way it doesn't work for OnBind either.
Regards,
Will