Support for encr_chat

This commit is contained in:
yago
2015-03-10 20:35:19 +01:00
parent e30fb76ac5
commit 9d52c6103c
2 changed files with 5 additions and 2 deletions

View File

@ -8,6 +8,9 @@ function get_receiver(msg)
if msg.to.type == 'chat' then
return 'chat#id'..msg.to.id
end
if msg.to.type == 'encr_chat' then
return msg.to.print_name
end
end
function is_chat_msg( msg )