[FIX] Fixed delayed presences while running in multiple-account mode
This commit is contained in:
parent
53586161d2
commit
b1a9979be2
|
@ -139,7 +139,7 @@ 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(to, req)
|
||||
(immediately) ? @component.send(req) : @presence_que.store(from+to, req)
|
||||
end
|
||||
|
||||
# request timezone information #
|
||||
|
|
Reference in a new issue