Support for encr_chat
This commit is contained in:
@ -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 )
|
||||
|
Reference in New Issue
Block a user