Software /
code /
verse
Comparison
plugins/presence.lua @ 490:6b2f31da9610
Update for new Prosody module namespace
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 20 May 2023 20:48:03 +0200 |
parent | 476:c34b263499be |
comparison
equal
deleted
inserted
replaced
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) |