summaryrefslogtreecommitdiff
path: root/xmpp/pylon.lua
diff options
context:
space:
mode:
authorrebecca <ubq323@ubq323.website>2026-09-24 16:42:28 +0100
committerrebecca <ubq323@ubq323.website>2026-09-24 18:20:25 +0100
commit3f54007ab621d2e6b652523259b1cb2d3d158e22 (patch)
tree101d01f242a14119a31f838be6a97a7d36847f5c /xmpp/pylon.lua
parentc6bf8876a0949214ce3fc151b2dbb957e40523a3 (diff)
create Thing class for general tuples of (pylon,descriptor)
Diffstat (limited to 'xmpp/pylon.lua')
-rw-r--r--xmpp/pylon.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmpp/pylon.lua b/xmpp/pylon.lua
index 90a155a..c9f18f5 100644
--- a/xmpp/pylon.lua
+++ b/xmpp/pylon.lua
@@ -1,7 +1,7 @@
local socket = require'cqueues.socket'
local class = require'r.class'
-local Channel = require'channel'
+local Thing = require'thing'
local BasePylon = require 'pylon'
local xml = require'xmpp.xml'
local X,xmlify = xml.X, xml.xmlify
@@ -118,7 +118,7 @@ function Xmpp.recving(self)
then
self.log:proto('<',from_bare_jid,from_nick,body)
self.wilson:deliver({
- source_channel = Channel(self, from_bare_jid),
+ source_channel = Thing(self, from_bare_jid),
body = body,
sender = from_nick,
})