<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://hg.omfa.de/prosody-hg/</link>
    <language>en-us</language>

    <title>prosody-hg: plugins/muc/occupant.lib.lua history</title>
    <description>plugins/muc/occupant.lib.lua revision history</description>
    <item>
    <title>MUC: occupant: refactor to allow storing more than just presence for a session</title>
    <link>http://hg.omfa.de/prosody-hg/log/4af7d00a2966/plugins/muc/occupant.lib.lua</link>
    <description><![CDATA[MUC: occupant: refactor to allow storing more than just presence for a session<br/>
<br/>
Previously a &quot;session&quot; (i.e. a full JID joined to a MUC) was stored as simply<br/>
a mapping of full JIDs-&gt;presence, contained within occupant objects (an<br/>
occupant object groups all sessions behind a certain nick in the MUC).<br/>
<br/>
To enable developing GC3 and other features, it would be helpful if we can<br/>
store additional metadata when a client joins a room, for example, whether it<br/>
has opted out of receiving presence stanzas (a GC3 feature).<br/>
<br/>
This changes the internal data structure, which shouldn't be used outside this<br/>
module, it adds a new :get_session() method, and modifies the :each_session()<br/>
iterator to return the session as an additional result (which should be<br/>
backwards compatible with code that just consumes the existing two results).]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Mon, 11 Nov 2024 12:47:01 +0000</pubDate>
</item>
<item>
    <title>plugins: Prefix module imports with prosody namespace</title>
    <link>http://hg.omfa.de/prosody-hg/log/74b9e05af71e/plugins/muc/occupant.lib.lua</link>
    <description><![CDATA[plugins: Prefix module imports with prosody namespace]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Fri, 24 Mar 2023 13:15:28 +0100</pubDate>
</item>
<item>
    <title>MUC: Rename variables to please luacheck</title>
    <link>http://hg.omfa.de/prosody-hg/log/6cc7c9da29ed/plugins/muc/occupant.lib.lua</link>
    <description><![CDATA[MUC: Rename variables to please luacheck]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Wed, 20 Jan 2016 14:46:06 +0100</pubDate>
</item>
<item>
    <title>plugins/muc: Move 'x' filtering from occupant to util</title>
    <link>http://hg.omfa.de/prosody-hg/log/006b0e0f0de2/plugins/muc/occupant.lib.lua</link>
    <description><![CDATA[plugins/muc: Move 'x' filtering from occupant to util]]></description>
    <author>&#100;&#97;&#117;&#114;&#110;&#105;&#109;&#97;&#116;&#111;&#114;&#32;&#60;&#113;&#117;&#97;&#101;&#64;&#100;&#97;&#117;&#114;&#110;&#105;&#109;&#97;&#116;&#111;&#114;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Thu, 05 Jun 2014 17:07:14 -0400</pubDate>
</item>
<item>
    <title>plugins/muc/occupant: Check for type == nil rather than type ~= unavailable</title>
    <link>http://hg.omfa.de/prosody-hg/log/41a5e5205fd9/plugins/muc/occupant.lib.lua</link>
    <description><![CDATA[plugins/muc/occupant: Check for type == nil rather than type ~= unavailable]]></description>
    <author>&#100;&#97;&#117;&#114;&#110;&#105;&#109;&#97;&#116;&#111;&#114;&#32;&#60;&#113;&#117;&#97;&#101;&#64;&#100;&#97;&#117;&#114;&#110;&#105;&#109;&#97;&#116;&#111;&#114;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Mon, 19 May 2014 13:47:28 -0400</pubDate>
</item>
<item>
    <title>plugins/muc/occupant.lib: Don't allow an unavailable session to be the primary jid</title>
    <link>http://hg.omfa.de/prosody-hg/log/e9d62fff82a8/plugins/muc/occupant.lib.lua</link>
    <description><![CDATA[plugins/muc/occupant.lib: Don't allow an unavailable session to be the primary jid]]></description>
    <author>&#100;&#97;&#117;&#114;&#110;&#105;&#109;&#97;&#116;&#111;&#114;&#32;&#60;&#113;&#117;&#97;&#101;&#64;&#100;&#97;&#117;&#114;&#110;&#105;&#109;&#97;&#116;&#111;&#114;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Wed, 02 Apr 2014 18:37:52 -0400</pubDate>
</item>
<item>
    <title>plugins/muc: Massive refactor</title>
    <link>http://hg.omfa.de/prosody-hg/log/e488a90195bc/plugins/muc/occupant.lib.lua</link>
    <description><![CDATA[plugins/muc: Massive refactor<br/>
<br/>
We now have occupant objects; you grab them, modify them, save them.<br/>
New presence handling code.<br/>
Modify all presence sending to go via new functions.]]></description>
    <author>&#100;&#97;&#117;&#114;&#110;&#105;&#109;&#97;&#116;&#111;&#114;&#32;&#60;&#113;&#117;&#97;&#101;&#64;&#100;&#97;&#117;&#114;&#110;&#105;&#109;&#97;&#116;&#111;&#114;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Thu, 27 Mar 2014 19:16:13 -0400</pubDate>
</item>

  </channel>
</rss>
