[Pidgin] #3300: Gmail notification

Pidgin trac at pidgin.im
Sun Jun 21 02:22:10 EDT 2009


#3300: Gmail notification
--------------------------------+-------------------------------------------
 Reporter:  lyric911            |        Owner:  seanegan   
     Type:  defect              |       Status:  closed     
Milestone:                      |    Component:  Google Talk
  Version:  2.2.0               |   Resolution:             
 Keywords:  email notification  |  
--------------------------------+-------------------------------------------

Comment(by yukam):

 I've tracked cause for this. It's missing
 {{{<usersetting><mailnotification value="true" /><usersetting>}}} (see
 [http://code.google.com/apis/talk/jep_extensions/usersettings.html]).
 In XMPP console send:
 {{{
 #!xml
 send: <iq id='consoled34520fc' type='get'>
         <usersetting xmlns='google:setting'/>
 </iq>
 }}}
 Got:
 {{{
 #!xml
 <iq to='xxxxx at gmail.com/GaimXXXXXXXX' id='consoled34520fc' type='result'>
         <usersetting xmlns='google:setting'>
                 <autoacceptsuggestions value='false'/>
 <!-- here --!>  <mailnotifications value='false'/>
                 <gmail value='true'/>
                 <emailverified value='true'/>
                 <domainprivacynotice value='false'/>
                 <archivingenabled value='true'/>
                 <displayname value='XXXXX XXXXXXXXXXX'/>
         </usersetting>
 </iq>
 }}}
 Solution: send `iq set` request:
 {{{
 #!xml
 <iq  id='console9a9c873b' type='set'>
   <usersetting xmlns='google:setting' >
      <mailnotifications value='true' />
   </usersetting>
 </iq>
 }}}
 Reproducible - setting back to `false` broke notification, and setting to
 `true` fixed again.
 Seems some people have that set initially to `false` (and have problems),
 other - to `true` (and can't notice any problem).

-- 
Ticket URL: <http://developer.pidgin.im/ticket/3300#comment:2>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list