1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-25 15:52:06 +01:00

Move "Message Events (XEP-22)" code to legacy

Fixes SMACK-569
This commit is contained in:
Florian Schmaus 2014-07-16 11:52:39 +02:00
parent 49ee058c38
commit 97b17e83b4
13 changed files with 70 additions and 8 deletions

View file

@ -23,6 +23,8 @@
<li><a href="debugging.html">Debugging with Smack</a> <li><a href="debugging.html">Debugging with Smack</a>
<p> <p>
<li><a href="extensions/index.html">Smack Extensions Manual</a> <li><a href="extensions/index.html">Smack Extensions Manual</a>
<p>
<li><a href="legacy/index.html">Smack Legacy Code Manual</a>
</ul> </ul>
<div class="footer"> <div class="footer">

View file

@ -0,0 +1,15 @@
<html>
<head>
<title>Smack Legacy User Manual</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<frameset cols="200,*">
<frame src="toc.html" name="navFrame" target="mainFrame">
<frame src="intro.html" name="mainFrame">
</frameset>
<noframes>
<H2>Smack Legacy User Manual</H2>
<a href="toc.html">Smack Extensions User Manual</a></noframes></html>

View file

@ -0,0 +1,26 @@
<html>
<head>
<title>Smack Extensions User Manual</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<div class="header">Smack Legacy Manual</div>
<p>The XMPP protocol includes a base protocol and many optional extensions
typically documented as "XEP's". Smack provides the smack-legacy artifcate, with
implementations of now <b>obsolete</b> XEPs. You should no longer use this code!</p>
<div class="subheader">Legacy Extensions</div><p>
<table border="0" width="85%" cellspacing="0" cellpadding="3" style="border:1px #bbb solid;">
<tr bgcolor="#ddeeff">
<td><b>Name</b></td><td><b>XEP #</b></td><td><b>Description</b></td>
</tr>
<tr>
<td><a href="messageevents.html">Message Events</a></td>
<td><a href="http://www.xmpp.org/extensions/xep-0022.html">XEP-0022</a></td>
<td>Requests and responds to message events.</td>
</tr>
</table>
</body>
</html>

View file

@ -0,0 +1,19 @@
<html>
<head>
<title>Smack Legacy User Manual</title>
<link rel="stylesheet" type="text/css" href="style.css" />
<base target="mainFrame">
</head>
<body>
<a href="intro.html">Introduction</a><p>
<div class="subheader">Smack Legacy Extensions</div><p>
<p>
<a href="messageevents.html">Message Events</a><br>
</p>
</body>
</html>

View file

@ -16,13 +16,6 @@
<className>org.jivesoftware.smackx.time.packet.Time</className> <className>org.jivesoftware.smackx.time.packet.Time</className>
</iqProvider> </iqProvider>
<!-- Message Events -->
<extensionProvider>
<elementName>x</elementName>
<namespace>jabber:x:event</namespace>
<className>org.jivesoftware.smackx.xevent.provider.MessageEventProvider</className>
</extensionProvider>
<!-- Chat State --> <!-- Chat State -->
<extensionProvider> <extensionProvider>
<elementName>active</elementName> <elementName>active</elementName>

View file

@ -9,4 +9,11 @@
<className>org.jivesoftware.smackx.xroster.provider.RosterExchangeProvider</className> <className>org.jivesoftware.smackx.xroster.provider.RosterExchangeProvider</className>
</extensionProvider> </extensionProvider>
<!-- Message Events -->
<extensionProvider>
<elementName>x</elementName>
<namespace>jabber:x:event</namespace>
<className>org.jivesoftware.smackx.xevent.provider.MessageEventProvider</className>
</extensionProvider>
</smackProviders> </smackProviders>