Hi
Please try this three line plugin. Save it in a file named
"mod_message_forced_broadcast.lua" in the Prosody modules directory.
Load it in your config as "message_forced_broadcast". It forces all
messages meant for a specific resource to be broadcasted to all
resources.
If your mobile and PC clients have different presence priority
settings, then you might also want to use the
"ignore_presence_priority=true" config option.
The plugin:
-- mod_message_forced_broadcast.lua
prosody.events.add_handler('server-started', function()
next(modulemanager.unload.hooks:get(module.host,'message')['message/full']).full_sessions
= {}
end);
--
You received this message because you are subscribed to the Google Groups "Prosody IM Users" group.
To post to this group, send an email to prosod...@googlegroups.com.
To unsubscribe from this group, send email to prosody-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/prosody-users?hl=en-GB.