mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
Don't set cursor inside added child when using add_child()
This commit is contained in:
parent
cd77265014
commit
e8ecd95917
1 changed files with 0 additions and 1 deletions
|
@ -53,7 +53,6 @@ end
|
|||
|
||||
function stanza_mt:add_child(child)
|
||||
(self.last_add[#self.last_add] or self):add_direct_child(child);
|
||||
t_insert(self.last_add, s);
|
||||
return self;
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue