incoming notification-user typing (wodXMPP)
hi
when users type something in the gtalk chat window the incoming notification does not arise. is there a solution to that? also is there a way to send a message saying that the user has stopped typing?
thanks,
sapna
Re: incoming notification-user typing
Sepna,
Did you check IncomingNotification Event maybe?
such notification should be received there.
More help for IncomingNotification Event you can find here:
http://www.weonlydo.com/XMPP/Help/WODXMPPLib~wodXMPP~IncomingNotification_EV.html
about sending notification you should use Notify Method. Did you check that mayve?
Drazen
Re: incoming notification-user typing
no i meant when a user stops typing. that event is not handled. it pops up a message box if i put any other value other than 1 which is the only notify id that is there. 1 is for user typing. there is nothign for user stopped typing. which means that if i type a letter and delete it all the window will still say user typing. is there any way to add more notify id's to the ContactNotifyEnum?
Re: incoming notification-user typing
hi
can anyone help me with this. would be of great help.
Thanks,
sapna
Re: incoming notification-user typing
Saphna,
For some reason we miss your email. Sorry about that.
Did you check Data argument in IncomingNotification Event?
Data argument should return True when user start typing and False when it stops.
Can you check that and let us know how it goes?
Drazen
Re: incoming notification-user typing
hi..
how do i use the const VARIANT &data to help me return TRUE or FALSE?
Thanks,
sapna
Re: incoming notification-user typing
Hi Sapna,
You can try something like this:
[code]if(Data.vt == VT_BOOL)
{
if(Data.boolVal)
{
//Do Something
}
}[/code]
Can you please try that?
Regards,
Damba
Re: incoming notification-user typing
hi..
i am not getting the xmpp_incomingnotification event in the event sink. can you please check on that. i am testing it with a gmail client
thanks,
sapna
Re: incoming notification-user typing
Sapna,
Are you sure?
I just tried our MFC VC sample and IncomingNotification Event is there and it works without any issue.
Drazen
Re: incoming notification-user typing
yes i'm sure. i'm not getting it. i have also said m_xmpp.Notify in my client when i am typing a message. it is not reflecting on the gmail chat client.
Re: incoming notification-user typing
i am using version 1.3.4.
Re: incoming notification-user typing
Sapna,
I believe this is duplicated. We have forwarded this to our programmers to check.
We will inform you as soon as we know more on this issue.
Regards,
Damba
Re: incoming notification-user typing
This should be now fixed, XEP0085 is implemented and chatstates work with gmail.
Regards,
Kreso
Re: incoming notification-user typing
hi
is this a new version that you have uploaded which i have to use now for those chat states to work?
Re: incoming notification-user typing
Sapna,
You should download latest version and try it again.
Drazen
Re: incoming notification-user typing
hi..
the incoming notification is working partially. when i type a letter it will send the notification but immediately it sends a stopped typing notification too. so if i want to display user A is typing a message it will go off immediately because the const & variant details in incoming notification is FALSE
Re: incoming notification-user typing
Sapna,
It's normal that gmail sends two notifications. One is composing , the other is sent when you stop typing ( paused ).
However, usually the paused one will arrive when user doesn't write anything for 1-2 seconds.
Regards,
Damba
Re: incoming notification-user typing
Sapna,
It's normal that gmail sends two notifications. One is composing , the other is sent when you stop typing ( paused ).
However, usually the paused one will arrive when user doesn't write anything for 1-2 seconds.
Regards,
Damba
i'm not using gmail. i'm using 2 jabber clients that i have developed. after the paused message comes in no more notifications come in. i don't get any more notifications after that
Re: incoming notification-user typing
Sapna,
Do you send out Notifications at all?
The component won't do this for you automatically. You need to use Notify method when you start typing, as well as when you want to send send paused notification.
I tried on our wippien.com server, and this also works like a charm.
Regards,
Damba