temporarily disabled presence queue pool -- will see how it works now
This commit is contained in:
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('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
|
req.add_element('x', {'xmlns' => 'vcard-temp:x:update'} ).add_element("photo").add_text(photo) unless photo.nil? # nickname
|
||||||
@logger.debug req.to_s
|
@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
|
end
|
||||||
|
|
||||||
# request timezone information #
|
# request timezone information #
|
||||||
|
|
Reference in a new issue