From c9fb9297fe1ba247723187f85c233cb839c26bb9 Mon Sep 17 00:00:00 2001 From: annelin Date: Tue, 18 Jun 2019 08:31:06 +0300 Subject: [PATCH] temporarily disabled presence queue pool -- will see how it works now --- inc/xmppcomponent.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inc/xmppcomponent.rb b/inc/xmppcomponent.rb index c83955f..7cc29eb 100644 --- a/inc/xmppcomponent.rb +++ b/inc/xmppcomponent.rb @@ -134,7 +134,8 @@ class XMPPComponent req.add_element('nick', {'xmlns' => 'http://jabber.org/protocol/nick'} ).add_text(nickname) unless nickname.nil? # nickname req.add_element('x', {'xmlns' => 'vcard-temp:x:update'} ).add_element("photo").add_text(photo) unless photo.nil? # nickname @logger.debug req.to_s - (immediately) ? @component.send(req) : @presence_que.store(req.from.to_s+req.to.to_s, req) + #(immediately) ? @component.send(req) : @presence_que.store(req.from.to_s+req.to.to_s, req) + @component.send(req) end # request timezone information #