开发者

Has Google Talk implemented XEP-0079?

开发者 https://www.devze.com 2023-02-06 01:05 出处:网络
Google Talk has implemented XMPP (jabber portocol) but has it implemented XEP-0079 too?开发者_运维问答

Google Talk has implemented XMPP (jabber portocol) but has it implemented XEP-0079 too?

开发者_运维问答

XEP-0079 is an XMPP extention about "Advanced Message Processing".


No.

We can use XEP-0030 (Service Discovery) to ask the server at talk.google.com what it features it provides.

XEP-0079 specifies a <feature> of http://jabber.org/protocol/amp but, as we can see from the request/response below, the gmail.com service does not include this feature in its response.


<iq to='gmail.com' type='get'>
  <query xmlns='http://jabber.org/protocol/disco#info'/>
</iq>

<iq xmlns='jabber:client' from='gmail.com' type='result'>
  <query xmlns='http://jabber.org/protocol/disco#info'>
    <identity category='server' type='im' name='Google Talk'/>
    <feature var='http://jabber.org/protocol/disco#info'/>
    <feature var='google:jingleinfo'/>
    <feature var='google:roster'/>
    <feature var='google:nosave'/>
    <feature var='google:setting'/>
    <feature var='google:shared-status'/>
    <feature var='http://jabber.org/protocol/archive#otr'/>
    <feature var='google:mail:notify'/>
    <feature var='http://jabber.org/protocol/archive#save'/>
    <feature var='http://jabber.org/protocol/rosterx'/>
  </query>
</iq>


To amplify Christopher's answer, not only does Google not implement AMP, there are few others who do, since it doesn't solve enough of the problem. For something hop-by-hop, consider XEP-0198: Stream Management, which also provides quick reconnect.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号