[jdev] Do jabber have a protocol about how to filter some uselessmessage? What is the JEP name?

Tang Yongbo yongbo.tang at utstar.com
Mon Jun 19 02:46:37 CDT 2006


Thanks Remko and Michal "vorner" Vaner。

But my question is not just blocking somebody's message. I want to make a filter rule, and apply it to the server to block anything as I like, including the IQ/message/presence package. 

For example, If Server receives something as followed and I have made a rule to filter the elements marked in blue before, the client will get the xml package as followed. 

Is there a JEP define the protocol? 

 

Server received:

<iq type='result'
    from='balconyscene at plays.shakespeare.lit'
    to='juliet at capulet.com/balcony'
    id='info3'>
  <query xmlns='http://jabber.org/protocol/disco#info'>
    <identity
        category='conference'
        type='text'
        name='Romeo and Juliet, Act II, Scene II'/>
    <feature var='http://jabber.org/protocol/disco#info'/>
    <feature var='http://jabber.org/protocol/muc'/>
  </query>

</iq>

 

Client received:

<iq type='result'

    from='balconyscene at plays.shakespeare.lit'
    to='juliet at capulet.com/balcony'
    id='info3'>
  <query xmlns='http://jabber.org/protocol/disco#info'>
    <identity
        category='conference'
        type='text'
        name='Romeo and Juliet, Act II, Scene II'/>
    <feature var='http://jabber.org/protocol/muc'/>
  </query>

</iq>

 

 

 

-----Original Message-----
From: jdev-bounces at jabber.org [mailto:jdev-bounces at jabber.org] On Behalf Of Michal vorner Vaner
Sent: Monday, June 19, 2006 15:05
To: Jabber software development list
Subject: Re: [jdev] Do jabber have a protocol about how to filter some uselessmessage? What is the JEP name?

 

On Mon, Jun 19, 2006 at 02:53:38PM +0800, Tang Yongbo wrote:

>    Do anyone know the JEP which defines the protocol about how to filter some

>    message (e.g.  I wish to pull some guy to the blacklist and never get his

>    message forever)?

 

XMPP-IM, section about privacy lists.

 

-- 

 

There are two types of optimizations. The ones which make the program 

slower and the ones which make the user red by missing features.

 

Michal "vorner" Vaner

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20060619/4fc1cca9/attachment-0002.htm>


More information about the JDev mailing list