temporarily disabled presence queue pool -- will see how it works now

This commit is contained in:
annelin 2019-06-18 08:31:06 +03:00
parent b5f8ba28ab
commit c9fb9297fe

View file

@ -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 #