Comparison

plugins/muc/muc.lib.lua @ 8728:41c959c5c84b

Fix spelling throughout the codebase [codespell]
author Kim Alvefur <zash@zash.se>
date Sun, 04 Feb 2018 01:51:25 +0100
parent 8591:0c322389f994
child 8754:ca40f9a5751a
comparison
equal deleted inserted replaced
8727:285075a27f28 8728:41c959c5c84b
574 :tag("status"):text("you are joining pre-existing session " .. dest_nick):up() 574 :tag("status"):text("you are joining pre-existing session " .. dest_nick):up()
575 :add_child(x); 575 :add_child(x);
576 self:route_stanza(pr); 576 self:route_stanza(pr);
577 end 577 end
578 if is_first_dest_session and is_last_orig_session then -- Normal nick change 578 if is_first_dest_session and is_last_orig_session then -- Normal nick change
579 log("debug", "no sessions in %s left; publically marking as nick change", orig_occupant.nick); 579 log("debug", "no sessions in %s left; publicly marking as nick change", orig_occupant.nick);
580 orig_x:tag("status", {code = "303";}):up(); 580 orig_x:tag("status", {code = "303";}):up();
581 else -- The session itself always needs to see a nick change 581 else -- The session itself always needs to see a nick change
582 -- don't want to get our old nick's available presence, 582 -- don't want to get our old nick's available presence,
583 -- so remove our session from there, and manually generate an unavailable 583 -- so remove our session from there, and manually generate an unavailable
584 orig_occupant:remove_session(real_jid); 584 orig_occupant:remove_session(real_jid);