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

pull/1/head
annelin 5 years ago
parent b5f8ba28ab
commit c9fb9297fe

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

Loading…
Cancel
Save