Change the to attribute of messages to the recipients' bare JID when the recipient/resource is offline.
Change the to attribute of messages to the recipients' bare JID when the recipient/resource is offline.

sarumjanuch/prosody,sarumjanuch/prosody