plugins.tell: Adjust format of delivered tells (fixes issues with some linkifiers)

Sat, 25 May 2013 21:46:21 +0200

author
Kim Alvefur <zash@zash.se>
date
Sat, 25 May 2013 21:46:21 +0200
changeset 103
c0235605d6d5
parent 102
b7c9a3707e68
child 104
8202cdfb99b4

plugins.tell: Adjust format of delivered tells (fixes issues with some linkifiers)

plugins/tell.lua file | annotate | diff | comparison | revisions
--- a/plugins/tell.lua	Sat May 25 21:35:27 2013 +0200
+++ b/plugins/tell.lua	Sat May 25 21:46:21 2013 +0200
@@ -132,7 +132,7 @@
 			local nick_id = sameroom and room.jid .. "/" .. occupant.nick or occupant.nick;
 			if(tellings[nick_id] ~= nil) then
 				for _,msg in ipairs(tellings[nick_id]) do
-					room:send_message(occupant.nick .. ": Welcome back! " .. msg.from .. " told me, to tell you, \"" .. msg.msg .. "\".");
+					room:send_message(occupant.nick .. ": Welcome back! " .. msg.from .. " told me to tell you:\n" .. msg.msg);
 				end
 				tellings[nick_id] = nil;
 				remember();

mercurial