489:39ed19f12dca | 490:6b2f31da9610 |
---|---|
1 local verse = require "verse"; | 1 local verse = require "verse"; |
2 local st = require "util.stanza"; | 2 local st = require "prosody.util.stanza"; |
3 | 3 |
4 function verse.plugins.presence(stream) | 4 function verse.plugins.presence(stream) |
5 stream.last_presence = nil; | 5 stream.last_presence = nil; |
6 | 6 |
7 stream:hook("presence-out", function (presence) | 7 stream:hook("presence-out", function (presence) |