From 3f54007ab621d2e6b652523259b1cb2d3d158e22 Mon Sep 17 00:00:00 2001 From: rebecca Date: Thu, 24 Sep 2026 16:42:28 +0100 Subject: create Thing class for general tuples of (pylon,descriptor) --- xmpp/pylon.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmpp') 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, }) -- cgit v1.2.3