Changeset d7c2ce6


Ignore:
Timestamp:
Nov 13, 2006, 11:06:52 PM (17 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, barnowl_perlaim, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
6e9e50e
Parents:
51c57f8
git-author:
Nelson Elhage <nelhage@mit.edu> (11/13/06 23:06:12)
git-committer:
Nelson Elhage <nelhage@mit.edu> (11/13/06 23:06:52)
Message:
Net::Jabber::Owl patch to support muc configuration and history requests on MUC join
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perl/lib/Net/Jabber/Namespaces.pm

    r0ff8d110 rd7c2ce6  
    14421442            xpath => {
    14431443                      Password => { path => 'password/text()' },
     1444                      History  => {
     1445                                    type  => 'child',
     1446                                    path  => 'history',
     1447                                    child => { ns => '__netjabber__:iq:muc:history' },
     1448                                    calls => ['Add', 'Get', 'Set', 'Defined' ],
     1449                                   },
    14441450                      MUC      => { type => 'master' },
    14451451                     },
     
    14491455           );
    14501456}
    1451        
     1457
     1458#-----------------------------------------------------------------------------
     1459# __netjabber__:iq:muc:history
     1460#-----------------------------------------------------------------------------
     1461{
     1462    &add_ns(ns    => '__netjabber__:iq:muc:history',
     1463            tag   => 'history',
     1464            xpath => {
     1465                      MaxChars   => { path => '@maxchars' },
     1466                      MaxStanzas => { path => '@maxstanzas' },
     1467                      Seconds    => { path => '@seconds' },
     1468                      Since      => { path => '@since' }
     1469                     },
     1470            docs  => {
     1471                      module => 'Net::Jabber',
     1472                     },
     1473           );
     1474                   
     1475}
     1476
    14521477#-----------------------------------------------------------------------------
    14531478# http://jabber.org/protocol/muc#admin
     
    15841609}
    15851610
     1611
     1612#-----------------------------------------------------------------------------
     1613# http://jabber.org/protocol/muc#owner
     1614#-----------------------------------------------------------------------------
     1615
     1616{
     1617        &add_ns(
     1618                ns  => "http://jabber.org/protocol/muc#owner",
     1619                tag => 'query',
     1620               );
     1621}
     1622
     1623
    15861624#-----------------------------------------------------------------------------
    15871625# http://jabber.org/protocol/pubsub
Note: See TracChangeset for help on using the changeset viewer.