Comparison

plugins/presence.lua @ 255:be126fe7c4e7

Merge with MattJ & mva
author Kim Alvefur <zash@zash.se>
date Sat, 03 Dec 2011 19:46:47 +0100
parent 250:a5ac643a7fd6
child 404:7c6a610c3ff5
comparison
equal deleted inserted replaced
254:616cc6a5fd30 255:be126fe7c4e7
1 local verse = require "verse";
2
1 function verse.plugins.presence(stream) 3 function verse.plugins.presence(stream)
2 stream.last_presence = nil; 4 stream.last_presence = nil;
3 5
4 stream:hook("presence-out", function (presence) 6 stream:hook("presence-out", function (presence)
5 if not presence.attr.to then 7 if not presence.attr.to then